|
-
May 11th, 2013, 12:16 PM
#1
Thread Starter
Addicted Member
[RESOLVED] DataGridView and button click information sharing question
Hi!
I need again some advice.
I allow the user to edit a row or add a new row in a datagridview. I then handle the dgv.Validating and dgv.Validated events so I can update the database. Now I added a Cancel button. However, when I press the cancel button, the validating and validated events are fired before I can set a variable( so that I know the user wants to cancel this edit).
What is the correct way to get the information about the cancel_button click to the validating and validated events at the time they get handled?
Kind regards,
Andy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|