如何重定向到gridview中的按钮和参数 [英] How to redirect to another page onclicking on button in gridview along with parameters
本文介绍了如何重定向到gridview中的按钮和参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在gridview的其中一列中有按钮。点击一个按钮,我需要重定向到另一个页面以及参数到另一个页面。
I have button in one of the columns in a gridview. On clicking on a button I need to redirect to another page along with parameters to another page.
任何人都可以帮忙吗?
Can anybody help with this?
推荐答案
code> Server.Transfer(url,true)添加到代码隐藏中的按钮单击事件。
Just do a Server.Transfer(url, true)
to the button click event in the codebehind.
这篇关于如何重定向到gridview中的按钮和参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文