2012-04-29 87 views
0

我有一個asp.net 4.0 gridview,它顯示我的數據庫屬性。我添加了一個按鈕來更新數據庫。我想在用戶單擊這些按鈕時轉到另一頁面以添加一些值。如何通過單擊按鈕轉到另一個頁面,如anotherpage.aspx?gridview連接另一個頁面的按鈕

感謝

+0

這可能對您有用:http://stackoverflow.com/questions/10185775/Retrieving-and-displays-dynamic-content-from-sql-database-into-asp-net-pages/10186235#10186235 –

回答

0

爲什麼不能做到這一點:

Response.Redirect("page.aspx") 

(OR)做這個

Server.Transfer("page.aspx",) 
+0

非常感謝..它的工作。 –

+0

不客氣。如果符合您的要求,您可以接受答案。 – coder

+0

發佈你現在已經完成的代碼。 –

相關問題