Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/10/2004, 18:54
Avatar de Mickel
Mickel
 
Fecha de Ingreso: mayo-2002
Ubicación: Lima, Peru
Mensajes: 4.619
Antigüedad: 22 años
Puntos: 7
Yo uso este metodo SeleccionaValorDropDownList(ddl_Var,str_Valor)

Public Shared Sub SeleccionaValorDropDownList(ByRef ddl_pDropDownList As DropDownList, ByVal str_pValor As String)
If Not ddl_pDropDownList.Items.FindByValue(str_pValor) Is Nothing Then
ddl_pDropDownList.SelectedItem.Selected = False
ddl_pDropDownList.Items.FindByValue(str_pValor).Se lected = True
End If
End Sub