how to pass values from 1 page to another..
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra
-
For example in page1.aspx
string id = "121";
Session["QueryString"] = id;
Response.Redirect("admin_home.aspx");to get data in page2.aspx perWorkId = Convert.ToString(Session["QueryString"]); hope it helps :)
thanks for replying paulalvin .... what is 121.. it can be anyting?
-
thanks for replying paulalvin .... what is 121.. it can be anyting?
Seriously? That's your question? :laugh:
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra
-
thanks for replying paulalvin .... what is 121.. it can be anyting?
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra
You may use**
- Query Strings
- Cookies
- Session variables
- Server.Transfer
- Post Back URL
**Passing data/parameters/values from one aspx page to another aspx page[^] Passing Values from One Page to Another Page – ASP.NET[^]
thatraja
FREE Code Conversion VB6 ASP VB.NET C# ASP.NET C++ JAVA PHP DELPHI ColdFusion
HTML Marquee & its alternativesNobody remains a virgin, Life screws everyone :sigh:
-
Hi :-O you have to use the "Query String" to send data one page to another.
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra
You can use session/query string to pass values from one page to another. query string Response.Redirect("Home.aspx?value="'+ddl.SelectedItem.Value+'"); on another page you can receive string temps=Request.QueryString["value"]; Session Session["TempToStore"]=ddl.SelectedItem.Value; Or In case of large data you can use XML Manipulation to write or Read. There is another way to create dataset and store it into session http://stackoverflow.com/questions/2288299/storing-and-retrieving-datatable-from-session
-
Hi :-O you have to use the "Query String" to send data one page to another.
Cobblers
C# has already designed away most of the tedium of C++.
-
how to pass drop down list and text box values from page1.aspx to page2.aspx?:confused:
Sumit Chandra