
29/04/2009, 03:02
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 44
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Respuesta: Editar datagrid SOLUCIONADO command.Parameters.Add(New SqlClient.SqlParameter("codi", SqlDbType.Int, 4))
command.Parameters("codi").Value = CType(e.Item.Cells(1).Controls(0), TextBox).Text
En vez de hacerlo así hago. command.Parameters.Add(New SqlClient.SqlParameter("codi", SqlDbType.Int, 4))
command.Parameters("codi").Value = e.Item.Cells(1).Text
Muchas gracias igualmente |