Home > DeveloperSection > Forums > How to get Values to a page where the page opens after clicking on Hyper link
Chintoo Semi

Total Post:135

Posted on    January-31-2014 11:18 PM

 C# C# 

 1 Reply(s)
 924  View(s)
Rate this:

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"

     NavigateUrl='<%# "db_PmuKpi_OBPI_AllPMs.aspx?PMRMId="+ Eval("PMRMID") + "&sRM =" +

                  Eval("PMRMName")%>' Text='<%# Eval("PMRMName","{0}")%>' />

<asp:Label ID="lblRM" runat="server" />

I want to use PMRMID and PMRMName in second page .How do I get them?

Pravesh Singh

Total Post:412

Posted on    January-31-2014 11:39 PM

Hi Chintoo,

Use Request.QueryString to retrive the values passed in the url.


Don't want to miss updates? Please click the below button!

Follow MindStick