Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
知道如何在DataSet行中获取最后更新的字段吗?
我的意思是在C#中是否有类似sqlselect @@identity的东西?
select @@identity
column你可以有一个DateTime。更新记录时,将记录的 设置 DateTime为DateTime.Now和Atlast select Max(DateTimeColumn)。
column
DateTime
DateTime.Now
Atlast select Max(DateTimeColumn)
有些人可能更喜欢column in DB保留上次更新的记录。
column in DB