How to use Query String using asp.net(C#)
Introduction : This Tutorial explain how to use query string in asp.net using Query string we can pass some data or information from one page to another page using the Url.
Step 1: In Form1 we can write the following code in button event
da.Name = TextBox1.Text;
Response.Redirect("WebForm2.aspx?name=" +TextBox1.Text);
Step 2 : In Form2 we can retrieve the values of the first page to second page using the Url above this code can write page load event of second page
label1.Text = Request.QueryString["name"];
label1.Text = Request.QueryString["name"];
using this tutorial we can maintain some data from one page to another page
See Other Tutorial :
* AngularJS Crude With ASP.NET MVC
* Convert Rows to columns using 'Pivot' in SQL Server
* Mvc Registration page With user exist using Ajax method
* MVC 4 How to Perform Insert Update Delete Edit Select Operation
* MVC4 Edit,update,Delete,cancel inside gridview using sql database
* MVC 4 Gridview To Display Data Using SQL Server Database With Simple code
* Login page in asp.net Mvc4 Web application
* Mvc4 How to bind Dropdown List using Sql Database
* Gridview find control in asp.net
Sign up here with your email
ConversionConversion EmoticonEmoticon