|
-
May 10th, 2013, 07:19 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Don't hit me - How to get a general DataRow.EndEdit event
Hello!
I'm sorry, but I am stuck again.
I have filled a DataGridView with data. Now I let the user add a new row, and I need to catch an event after the user has finished to edit the row, so that I can update the database.
There is this DataRow.EndEdit event, but I cant find a way to handle this event, as the new row filled by the user is an anonymous row.
Do I have to have a Class member of type DataRow and then when the user starts to enter the data (I can catch it in a grid.SelectionChanged event) I have to set the class member to the current row?
It seems like a strange way to me. But the DataGridView does not seem to offer any event that would fit me.
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
|