where is declare global variable in asp.net and what is use
of global variable

Answer Posted / kinjal panchal

we can declare global variable in class file. and this
global variable we can use in whole application.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

800


WSDL means?

891


What is the maximum timeout we can set for Cookies?

750


Explain how cookies work. Give an example of cookie abuse.

879


Describe Segmentation With Paging?

811


Explain security types in asp.net?

778


How can you handle exceptions in asp.net?

758


What is viewstate information stored?

833


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

726


Can the dictionary object be created in client?s scope ?

2192


How many web.config files can I have in an application?

734


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

840


Differentiate between namespace and assembly.

738


How to implement form based authentication in asp.net application?

803


Where can I get the details on migration of existing projects using various technologies to asp.net?

757