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.
我有一个附加到 asp.net 中的 gridview 的表。
假设用户编辑一行并更新文本框中的文本。我需要能够知道他修改和突出显示的列(即加粗)。
此信息需要在 asp.net 会话之外保留,因此它需要来自数据库。
如何从数据库中提取这些信息?
在表中的updateTime中再添加一列,并创建一个 afterUpdate 触发器,该触发器将在该列中插入更新的时间。现在您可以将最近更新的行与所有其他行区分开来。