why one value is only stored in a variable?
Pass Variable From One Page to Other using VB.NET
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 18, 2013, 10:33 PM
to the pass value from one page to other page is also depend on application are used.
means if you use window application than you may pass value using constructor or property setter.
if you use web application than you may use any state management like view state, query string session etc.
hope this will help you.
susheel vermaPosted Feb 18, 2013, 10:15 PM
i.e. :
on frist page :
Session("Myvar") = "value of your variable"
on second page :
Dim Str1 as String=" "
Str1=Session("Myvar")