|
-
Apr 23rd, 2003, 09:42 AM
#1
Thread Starter
Lively Member
Detecting AFTER row added to datatable
I've been trying to use the RowChanged event of the datatable to detect whenever a row has been updated, deleted or added.
It works fine for deleted rows and updated rows but doesn't work for added rows.
It seems the event is fired BEFORE the row is actually added to the datatable. I've checked.
I need an event or something that fires AFTER the row is added so I can get the newly added row as well from the datatable.
I really don't get it. If the event is fired BEFORE the row is added, then doesn't the RowChanged event behave absolutely the same as RowChanging event (at least for added records)?
Is this a BUG? Any way to get around this? I just need an event that fires AFTER a row is added.
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
|