Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/01/2006, 12:04
Avatar de aldo1982
aldo1982
 
Fecha de Ingreso: noviembre-2004
Ubicación: Santa Fe (Argentina) Colon F.C
Mensajes: 1.362
Antigüedad: 19 años, 6 meses
Puntos: 6
bueps no se ke mas hacer sigue sin mostrarme datos :S
ahora probe sin el where como para ke me muestre todos los datos pero ni medio de bola ke me da .. bue aca pongo el codigo pa ke vean


Private Sub Command1_Click()
Set cxnfac = New ADODB.Connection
cxnfac.ConnectionString = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Port=3306;Option=131072;S tmt=;Database=l2jdb;" & "uid=" & Form1.Text1 & ";" & "pwd=" & Form1.Text2 & ";"
cxnfac.Open

SQL = "select price from merchant_buylists"

Set rs = cxnfac.Execute(SQL, , adCmdText)

Do While Not rs.EOF
List1.AddItem rs!price
rs.MoveNext
Loop
rs.Close

End Sub
__________________
LA MUERTE ESTÁ TAN SEGURA DE VENCER QUE NOS DA TODA UNA VIDA DE VENTAJA