
25/06/2012, 19:53
|
| | Fecha de Ingreso: febrero-2012 Ubicación: Cordoba
Mensajes: 30
Antigüedad: 13 años Puntos: 0 | |
Respuesta: sumar columnas este es mi código y me figura el siguiente error: Referencia a objeto no establecida como instancia de un objeto.
Dim total1 As String = ""
If e.Row.RowType = DataControlRowType.DataRow Then
total = total + e.Row.Cells(3).Text
End If
If e.Row.RowType = DataControlRowType.Footer Then
GridView3.FooterRow.Cells(3).Text = total.ToString("#,##0.00")
End If
Todo esta dentro de GridView_rowdataBound.
Espero me puedan ayudar |