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.
在我的表中输入当前日期时间的记录。我需要连续显示在数据库中输入的记录是什么。对于每 1 分钟编写一个 Web 服务,我需要显示新输入的记录。如何编写 linq to sql 查询以在 1 分钟输入记录之前显示?
您可以立即将数据保存在数据库中,但是当您想在 Gridview 中显示数据时,您可以延迟Thread.Sleep(60000);
Thread.Sleep(60000);