Ver Mensaje Individual
  #13 (permalink)  
Antiguo 04/12/2012, 11:03
Avatar de damid3
damid3
 
Fecha de Ingreso: noviembre-2012
Mensajes: 90
Antigüedad: 11 años, 5 meses
Puntos: 0
Respuesta: recorrer datagridview y cargar datos vb.net

SOLUCIONADO

ya esta Aquaventus es DataGridViewRow y con row.Cells(0).Value

lo dejo aqui por si a alguien le sirve ^^

Código:
        For Each row As DataGridViewRow In dgv.Rows
                query = "INSERT INTO FACTURASDETALLES VALUES('" & row.Cells(0).Value & "','" & row.Cells(1).Value & "','" & row.Cells(3).Value & "','" & row.Cells(4).Value & "','" & row.Cells(5).Value & "','" & row.Cells(6).Value & "','" & row.Cells(7).Value & "',null)"
                conec.ddl2(query)
            Next

desde ya MUCHISIMAS gracias aqua eres un crack ^^

Saludos ^^