Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/02/2005, 18:13
chcma
 
Fecha de Ingreso: junio-2003
Ubicación: Asturias
Mensajes: 2.429
Antigüedad: 20 años, 11 meses
Puntos: 7
Me imagino que para llenar un Combo usarás un DataReader.

CN.open 'CN es la conexion
Dim Cmd as new OledbCommand = "Select ...."
Dim DR as new DataReader
DR = cmd.ExecuteReader
while DR.read
combo.items.add(DR("Campo"))
wend
DR.Close
CN.Close

Y si lo haces mediante DataSet.

Dim DR as DataRow
for each DR in DS.Tables("DataTabla").rows
combo.items.add(DR("Campo"))
next

Espero haberte solucionado la duda.
__________________
Charlie.