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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top