Hi Guys,

i'm newbie in .net area. now i confuse one things is :

i have a variabel is use at all pages in my web site. so how i set this variable in one page, so that every time when i need this variable, i can use this and no need declare again this variable and assign same value in this variable.

Hello.
You can use few different options. But more common is using Global.asax file. You can define variables for session and you WEB-application.

Cheers

Hello.
You can use few different options. But more common is using Global.asax file. You can define variables for session and you WEB-application.

Cheers

Thanks for your reply. Can you provide more details due to i still blur that how to use global variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.