gridview reg
how to pass value by selecting the grid view to label in another page
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhimanyu K VatsaPosted May 25, 2011, 9:48 AM
(i) using hyperlink (ii) using code-behind
Sample One
Or
Read These
http://www.dotnetcurry.com/ShowArticle.aspx?ID=147
http://csharpdotnetfreak.blogspot.com/2009/09/pass-send-gridview-row-data-otherpage.html
Abhimanyu K VatsaPosted May 26, 2011, 1:36 AM
Gowtham manjuPosted May 25, 2011, 10:32 AM
Prabhu MPosted May 25, 2011, 9:42 AM
add the Hyperlink field to gridview
DataTextField="ccquestion" HeaderText="Questions : " />
In default2.aspx:
label1.text=Request.QueryString["myval"].ToString();
Try this...