如何在选择行时查看下一页中的gridview行

问题描述:

Hello Friends,



正在使用C#,SqlServer 2005数据库处理asp.net gridview。



我有两个网页。



在第一页我有Gridview包含数据,在这个Gridview中我有所有的超链接(超链接命名为查看请求)行。



当我点击特定行的超链接时,只有这一特定行必须显示在gridview的第二页中。



请你帮我谢谢。

Hello Friends,

am working on asp.net gridview using C#,SqlServer 2005 database.

I have two webpages.

In first page I have Gridview with data in it, in this Gridview i have hyperlink(hyperlink named as View Request) for all the rows.

When i click this hyperlink for particular row, only this particular row must display in 2nd page in gridview.

Please can you help me thanks.

Gridview有Item命令事件,int这个获取所选行值然后重定向到其他页面。值,您可以通过会话或查询字符串。



http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcommand.aspx [ ^ ]
Gridview having Item command event, int this fetch selected row value then redirect to other page. Values, you can pass through the session or query string.

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcommand.aspx[^]


您好请参考以下链接:

http://forums.asp.net/t/1113235.aspx [ ^ ]



问候

遗嘱
Hi Please refer to the following link:
http://forums.asp.net/t/1113235.aspx[^]

Regards
Wills