public void guardarCambios(ref BindingSource bindDatos)
{
try
{
adaptador.Update((DataTable)bindDatos.DataSource);
}
catch (OleDbException exception)
{
int i = 0;
MessageBox.Show("Index #" + i + "\n" +
"Message: " + exception.Errors[i].Message + "\n" +
"Native: " + exception.Errors[i].NativeError.ToString() + "\n" +
"Source: " + exception.Errors[i].Source + "\n" +
"SQL: " + exception.Errors[i].SQLState + "\n");
}
}