Ver Mensaje Individual
  #14 (permalink)  
Antiguo 23/08/2011, 14:22
gastum
 
Fecha de Ingreso: agosto-2011
Mensajes: 17
Antigüedad: 12 años, 8 meses
Puntos: 0
Pregunta Respuesta: Enviar un datagridview hacia un Crystal Report

Gracias por la ayuda y disculpa que sea tan torpe, pero al intentar hacer lo que me has dicho me subraya lo que esta entre paréntesis en el código y me dice:

"Un valor de tipo 'string' no se puede convertir en 'form1.grillaremito.datatable1row'

Código:
    Private Sub ActualizarReport()
        For Each row As DataGridViewRow In DataGridView3.Rows
            GrillaRemito.DataTable1.AddDataTable1Row(row.Cells("Cantidad").Value.ToString)
            GrillaRemito.DataTable1.AddDataTable1Row(row.Cells("Descripcion").Value.ToString)
        Next
La grilla se llama: DataGridView3
El Dataset: GrillaRemito.xsd
El Datatable: DataTable1

Saludos !