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 4.0 gridview,它显示了我的数据库属性。我添加了一个按钮来更新数据库。当用户单击这些按钮时,我想去另一个页面添加一些值。如何通过单击按钮转到另一个页面,例如 anotherpage.aspx?
谢谢
为什么不这样做:
Response.Redirect("page.aspx")
(或)这样做
Server.Transfer("page.aspx", )