AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 how to pass values from one page to another page in asp.net?
Posted by venkatesh on  11/2/2008 3:19:37 AM Category: ADO.NET
Add to my favorites
Email to friend
.net2.0
sql2005

Post Your Reply Post New Question

 Viewer's Reply
query string or seesion or application
Answered By jimson j fernandez on 11/2/2008 7:21:26 AM
string str="A001";
respone.redirect("new.aspx?str="+str);
 
use session variable
Answered By prasath.prakasam on 11/13/2008 6:26:18 AM
u can use session


session("anyvariablename")=your value -----in first form example login user id


once u assigned u can use globally,.......othervise use query string.....
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Integrating Silverlight 4 with SharePoint 2010 - Free 42 Page Sample Chapter
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks - Free 158 Page Preview
The ASP.NET 2.0 Anthology: 101 Essential Tips, Tricks & Hacks - Free 156 Page Preview