Reputation: 13636
Any idea how to get last updated field in DataSet row?
I mean in C# is there anything like select @@identity
in sql?
Upvotes: 0
Views: 255
Reputation: 2938
You can have a column
that have DateTime
in it. When you update your record, set the
DateTime
of your record to DateTime.Now
and Atlast select Max(DateTimeColumn)
.
Some may prefer that column in DB
for keeping records of last update.
Upvotes: 1