Windows Form DataGrid validating changes question

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

In my .Net C# Windows form Form1, there's a DataGrid DataGrid1 on Form1.
How do I validate if the values in DataGrid1 is modified or not?
Thanks for help.


Jason
 
Hi,

In my .Net C# Windows form Form1, there's a DataGrid DataGrid1 on Form1.
How do I validate if the values in DataGrid1 is modified or not?
Thanks for help.

Jason

I believe you are using DataGridView.
The CellStateChanged() event of DataGridView is the best place to do
some validations.
Check it out.
 
Thanks Marrif!
Get no DataGridView in the .Net 1.1 ...

<[email protected]>
???????:[email protected]...
Hi,

In my .Net C# Windows form Form1, there's a DataGrid DataGrid1 on Form1.
How do I validate if the values in DataGrid1 is modified or not?
Thanks for help.

Jason

I believe you are using DataGridView.
The CellStateChanged() event of DataGridView is the best place to do
some validations.
Check it out.
 

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