Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/05/2005, 07:29
Avatar de Rony J.
Rony J.
 
Fecha de Ingreso: noviembre-2004
Ubicación: Maracay - Vzla
Mensajes: 223
Antigüedad: 20 años, 3 meses
Puntos: 0
Puedes probar algo asi:

If Dr.HasRows Then
Dim Valor, Texto as string
Dim I as integer = 0
While Dr.Read
Valor = Dr(0).Tostring
Texto = Dr(1).Tostring
MyDropDown.Items.Insert(I, New ListItem(Texto, Valor))
I += 1
End While
End If
Dr.Close()
__________________
Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las mismas cosas. Albert Einstein