Social Icons

Wednesday, 26 June 2013

How to pass multiple values in QueryString in Asp.Net Example

Introduction:

In my previous articles i explained Various articles on WPF and Asp.Net.Now we will see how to pass mutliple values or parameters to another page using QueryString.You can find In dept about QueryString Usage here.

Description:

Take a web form which contains multiple textboxes for entering username,password,age, and contact number.

Multiple parameters in querystring

HTML Code


In Button click event Write below code

Now take another form name it welcome.aspx and take four labels to display querystring values in it.
HTML code


In page load write below code


Now run the first page and enter all details then press submit now page is redirected to welcome.aspx where querystring values are displayed.



Related Tutorials

No comments:

Post a Comment

Please Give your Valuable Suggestions,Questions and Comments to improve my blog.