In my application i need to handle concurrencies:
in DAL i have writtent the following code to retreive a dataset that has a row of data.
The last column of the row is LastUpdatedTime (DateTime)
C# |
To store the last updated time, I have added the following line in the GetARecord(int):
Java |
However, i found the
Code |
from an article, according to it this stores the original value of updateTime. But when put a break point and check
for the value that is stored in the, shows null value.
I have added an "void Update(DataSet ds)" to make updates to the table,
C# |
In the above updateEmployee() method, i need to extract value in each column through the Dataset, so i can assign
values to update parameters....
How do i do it?
Here is the article that shows how to do optimistic concurrency based on column values (not dates) . i have made the modification to handle Concurrency based on dates
TY

Answers
Know the answer? Post it. Somebody with the same question will find it here.