.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Passing Value to another page & then again to another page

Posted By: Anup     Posted Date: December 04, 2009    Points:2   Category :ASP.Net

I want to pass a value from one page to another(say from page1 to page2) & the same value again to another page(say page3).

What is the best way to do this in vb.net. Query string, Session Variables or any other method?


"Peace comes from within. Do not seek it without."

Author: Venkat             
Posted Date: December 04, 2009     Points: 5   

Hi Anup,

Session will the the best method in your scenario..you can use session object to pass value across pages.


Mark As Answer if this solve your problem
Warm Regards,
Author: Syed Shakeer Hussain             
Posted Date: December 04, 2009     Points: 5   

In page1.aspx.cs Session("value")="abc" if u want use page1 value in page2.aspx.cs use as follows:dim str as string=session("value")

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend