porque me devuelve 0 en contador???

14/07/2004 - 13:50 por Jordi Maycas | Informe spam
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Dim contador, bucle As Integer

contador = MotllosDataSet.tipos_molde.Count() ;me devuelve 0 y tengo
registros

contador = MotllosDataSet.centro_inversion.Count() ; lo mismo, me devuelve 0



'For bucle = 1 To contador

'ComboBox1.Items.Add(MotllosDataSet.centro_inversion.Item(bucle))

'Next bucle

End Sub

Preguntas similare

Leer las respuestas

#1 alex
14/07/2004 - 15:26 | Informe spam
El dataset esta lleno? es decir ya llamaste al metodo
fill del adaptador del dataset????


Mostrar la cita
ByVal e As
Mostrar la cita
devuelve 0 y tengo
Mostrar la cita
mismo, me devuelve 0
Mostrar la cita
(bucle))
Mostrar la cita
#2 Jordi Maycas
14/07/2004 - 16:15 | Informe spam
mmm nop

probare de nuevo

gracias

"alex" escribió en el mensaje
news:2d3d201c469a6$2e441d40$
Mostrar la cita
Ads by Google
Search Busqueda sugerida