---
title: "Problem in passing value from one page to other page in ASP.NET"  
description: "Problem in passing value from one page to other page in ASP.NET"  
author: "John Smith"  
published: 2010-09-28  
updated: 2023-05-05  
canonical: https://www.mindstick.com/forum/1/problem-in-passing-value-from-one-page-to-other-page-in-asp-dot-net  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Problem in passing value from one page to other page in ASP.NET

Hi,\
Could you please let me know how to [pass value from one](https://www.mindstick.com/forum/133/how-to-pass-value-from-one-windows-form-to-another-windows-form-in-c-sharp) [page](https://www.mindstick.com/articles/13031/why-to-make-a-wikipedia-page) to other through [Query String](https://www.mindstick.com/articles/512/query-string-in-asp-dot-net) as I am new in ASP.NET.\
Your help will be appreciated!\
\
Thanks,\
John\

## Replies

### Reply by John Smith

thx for your time ..:)\

### Reply by Anonymous User

If you want to [pass value](https://www.mindstick.com/forum/156804/how-to-pass-value-to-the-parameter-in-stored-procedure) from [one page](https://www.mindstick.com/forum/118/problem-in-display-content-of-one-page-to-another-page) to another using [Query](https://www.mindstick.com/blog/202/sub-query-in-sqlserver) [string](https://www.mindstick.com/articles/1527/string-split-in-c-sharp) then just add name of query followed by its value.\
\
example\
\
supose you have two pages a.aspx and b.aspx and you want to pass value from a.aspx to b.aspx then instead of just redirecting to page b.aspx, redirect to b.aspx as b.aspx?Name=Haider\
\
Here Name is name of Query String and Haider is value you want to pass.\
\
Now to access this value in b.aspx use\
\
string strName = Request.QueryString["Name"].toString();\
\


---

Original Source: https://www.mindstick.com/forum/1/problem-in-passing-value-from-one-page-to-other-page-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
