Mensajes [1] - Enviado el Lunes 06 de Octubre de 2008 a las 21:53hs
Hola a Todos!
Estoy utilizando el siguiente codigo para guardar los campos de un datagridview pero me sale el siguiente error: "Update requiere que UpdateCommand sea v?lido cuando se pasa la colecci?n DataRow con filas modificadas. "
Private Sub Actualizar(Optional ByVal bcargar As Boolean = True)
If Not bs.DataSource Is Nothing Then
OleDbDataAdapter.Update(CType(bs.DataSource, DataTable))
If bcargar Then
CargarRegistros("Select nombre,fechanac,telefono,celularP,celularM,correoelectronico, mensualidad,estadopago From Maternal", dbmaternal)
End If
End If
End Sub
De antemano muchas gracias