Validating data in datagrid

  • Thread starter Thread starter Omavlana
  • Start date Start date
O

Omavlana

Pleas advise me how to do validations in side datagrid before updating
the details into database.

I am using VB.NET and updating the datagrid using sqlcommandbuilder.

I want to validate the data that user changhes inside the grid. How
can I do this?


Pls help...

Regards,
Omav
 
Hi,
You have some events from which to choose to do your
validating, all the way from the keystroke level to the
full datagrid level. Some events to consider are
CurrentCellChanged, TextChanged, Validated, Validating,
KeyDown, KeyUp, and KeyPress. Carol
 
Back
Top