My Scenario,
Im using asp.net 2.0 .I have Site where it creates a unique id and it is inserted in Database and displaying in Textbox that is invisible. Now i need to send this Id to next Page. i Used Session(“MemberId”) = Txtnewid.Text. Its not working It shows zero value when i assign to variable string. Please Help Me . Thanks in advance
You don’t need to store the value in a textbox at all. All you need to do is take the id and insert it in session the first time is created; on subsequent requests on the same page or any other within your site, you can access this id by doing:
Or in Vb syntax: