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,我做了如下代码但它一直显示 1
var updateCommand = "UPDATE Items SET views=@0 + 1 WHERE id=@1"; viewsdb.Execute(updateCommand, views, id);