Ver Mensaje Individual
  #12 (permalink)  
Antiguo 31/05/2011, 07:30
elpaisa
 
Fecha de Ingreso: enero-2011
Ubicación: medellin
Mensajes: 194
Antigüedad: 13 años, 3 meses
Puntos: 0
Respuesta: solo me trae un mensaje cuando deberia ser varios en msgbox

muchas gracias ramirez tu ayuda me fue muy util ya lo termine aca paso el codigo por si alguien tiene el mismo problema mio

Dim command As SqlCommand
Dim adapter As New SqlDataAdapter
Dim ds As New DataSet


cnn.Open()
command = New SqlCommand(obj, cnn)
adapter.SelectCommand = command
adapter.Fill(ds)
adapter.Dispose()
command.Dispose()

Dim texto As String
texto = ""

Dim tabla As DataTable

For Each tabla In ds.Tables
texto = texto + " -- " + tabla.Rows(0).Item(0).ToString()
Next tabla

MsgBox(texto)