Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/08/2007, 22:34
Avatar de a83
a83
 
Fecha de Ingreso: noviembre-2005
Ubicación: Santiago de chile
Mensajes: 637
Antigüedad: 19 años, 5 meses
Puntos: 1
Re: Datos De Un Campo De Una Tabla A Combobox

mmmm no me queda muy claro sebaghost tu ejemplo

lo estas creando dentro del evento asip
Código PHP:

Private Sub Combo1_Change()
Dim Conection As SqlConnection = New SqlConnection(Conexion_)
Dim Consulta As SqlCommand
Dim Adaptador 
As SqlDataReader
Consulta 
= New SqlCommand("Select * From Origen "Conection)

Conection.Open()
Adaptador Consulta.ExecuteReader()
If 
Adaptador.HasRows Then
Do While Adaptador.Read
CB_Origen
.Items.Add (Trim(Adaptador(1)))
Loop
Else
End If
Conection.Close()
End Sub