---
title: "How to get Values to a page where the page opens after clicking on Hyper link"  
description: "How to get Values to a page where the page opens after clicking on Hyper link"  
author: "Anonymous User"  
published: 2014-01-31  
updated: 2014-01-31  
canonical: https://www.mindstick.com/forum/1930/how-to-get-values-to-a-page-where-the-page-opens-after-clicking-on-hyper-link  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How to get Values to a page where the page opens after clicking on Hyper link

I have two pages in which I used [GridView](https://www.mindstick.com/articles/873/update-delete-edit-gridview-in-asp-dot-net) in [one page](https://www.mindstick.com/forum/118/problem-in-display-content-of-one-page-to-another-page).In GridView I used Hyperlink to open [second page](https://www.mindstick.com/forum/23130/windows-phone-8-1-universal-app-terminates-on-navigating-back-from-second-page) after clicking on it. I am passing the [values](https://www.mindstick.com/forum/327/sum-textbox-values) in Hyperlink which i want to use in second page.

**Here is my [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii)**

```
<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?

## Replies

### Reply by Pravesh Singh

Hi Chintoo,\

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

Request.QueryString["PMRMId"]


---

Original Source: https://www.mindstick.com/forum/1930/how-to-get-values-to-a-page-where-the-page-opens-after-clicking-on-hyper-link

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
