How to check weather the data has been update
Posted on 2003-10-25
I have a C# form which will allow the user to edit the record to an Oracle database from form. I want to know how to modified the adapter, so a warning message will popup if the record is dirty(record has been update by other people) when the user try to update/save it from C# form.
I know there is feature when you create an adapter from Form Design. I check-marked that feature for oleDbDataAdapter1 already,but it didn't give me any warning msg when I test it throught SQL Plus.
I have the following code for update:
MessageBox.Show("Record has been updated!");
Thanks in advance.