Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
3.29/5 (3 votes)
See more:
Hi,
I am trying to declare public variables in asp.net. I am used to with doing this in vb.net, where I declare them in modules but do not know how to do it in asp.net
Please advise.

Thanks
Posted
Updated 5-Jan-14 23:22pm
v2
Comments
Kornfeld Eliyahu Peter 6-Jan-14 5:06am    
ASP.NET is not a language like VB.NET - so what do you mean by that, C#?
Furqan Sehgal 6-Jan-14 5:12am    
I am using vb.net in asp.net
Furqan Sehgal 6-Jan-14 5:20am    
I need to take user name in one asp.net form and then display it in another. In vb.net I do it through Public variables declared in modules. What do u suggest in asp.net?

 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900