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
- Architecture of WPF.
- Creation of Three Tier Architecture in .Net Application.
- Difference between App.config and Web.Config
- Asp.Net Validation Controls Tutorial
- Asp.Net Ajax Tutorials
- Difference between Machine.Config and Web.Config in Asp.Net Framework.
- Basic Drawings and Shapes in WPF.
- How to read and write key values from and to App.config Settings file .Net Windows Application.
- How to Use RangeValidator Control in Asp.Net with Example.
- Asp.Net Ajax Server Controls, Ajax Control Toolkit Download and Installation Tutorial.
- How to Use ViewState in Asp.Net(State Management Techniques).
- How to use Hidden Field in Asp.Net with Example(State Managemet Techniques).
- Beginners Tutorial on How to use QueryStrings in Asp.Net(State Management Techniques).
- Asp.Net Cookie Usage Overview with example(State Management Techniques).
- Access Specifiers or Modifiers in C# with example(Oops Concept).
No comments:
Post a Comment
Please Give your Valuable Suggestions,Questions and Comments to improve my blog.