I have two pages in which I used GridView in one page.In GridView I used Hyperlink to open second page after clicking on it. I am passing the values in Hyperlink which i want to use in second page.
Here is my code
<asp:HyperLink runat="server" ID="HyperLink1"I want to use PMRMID and PMRMName in second page .How do I get them?
NavigateUrl='<%# "db_PmuKpi_OBPI_AllPMs.aspx?PMRMId="+ Eval("PMRMID") + "&sRM =" +
Eval("PMRMName")%>' Text='<%# Eval("PMRMName","{0}")%>' />
<asp:Label ID="lblRM" runat="server" />
Pravesh Singh
31-Jan-2014Use Request.QueryString to retrive the values passed in the url.
Request.QueryString["PMRMId"]