Click here to Skip to main content
16,013,581 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: include file Pin
Sebastian T Xavier25-Jun-07 18:12
Sebastian T Xavier25-Jun-07 18:12 
GeneralRe: include file Pin
Sebastian T Xavier25-Jun-07 18:15
Sebastian T Xavier25-Jun-07 18:15 
GeneralRe: include file Pin
Fred_Smith25-Jun-07 21:37
Fred_Smith25-Jun-07 21:37 
GeneralRe: include file Pin
Sebastian T Xavier25-Jun-07 23:19
Sebastian T Xavier25-Jun-07 23:19 
GeneralRe: include file Pin
Fred_Smith26-Jun-07 0:06
Fred_Smith26-Jun-07 0:06 
GeneralRe: include file Pin
Sebastian T Xavier26-Jun-07 0:08
Sebastian T Xavier26-Jun-07 0:08 
GeneralRe: include file Pin
Fred_Smith26-Jun-07 0:37
Fred_Smith26-Jun-07 0:37 
GeneralRe: include file Pin
badgrs25-Jun-07 6:16
badgrs25-Jun-07 6:16 
Sebastian T Xavier wrote:
which contains some global variables and enumerations

Technically there is no such thing as a global variable in .NET - it is Object Oriented and you would do good to go research what OOP is before embarking on an ASP.NET application, especially if your coming from a classic ASP background (which it sounds like you are).
Assuming by global you mean you've declared a variable like: (I realise you're probably working in VB.NET but I don't do VB.NET, it sucks)
public class MyGlobals<br />
{<br />
  public static readonly string MY_GLOBAL_VAR = "some value";<br />
}

To then use this you would simply have to import the namespace with a using statement (if the class is inside another namespace) and reference the variable like:
MyGlobals.MY_GLOBAL_VAR;
GeneralRe: include file Pin
Sebastian T Xavier25-Jun-07 18:10
Sebastian T Xavier25-Jun-07 18:10 
Questionprint the arabic number in report Pin
Shaoulu25-Jun-07 1:08
Shaoulu25-Jun-07 1:08 
Questiongoto top...? Pin
pradeep kumarappagari25-Jun-07 1:07
pradeep kumarappagari25-Jun-07 1:07 
AnswerRe: goto top...? Pin
badgrs25-Jun-07 1:21
badgrs25-Jun-07 1:21 
Questiondefault page Pin
mohantfor.net25-Jun-07 1:02
mohantfor.net25-Jun-07 1:02 
AnswerRe: default page Pin
gauthee25-Jun-07 1:09
gauthee25-Jun-07 1:09 
GeneralRe: default page Pin
mohantfor.net25-Jun-07 1:15
mohantfor.net25-Jun-07 1:15 
GeneralRe: default page Pin
gauthee25-Jun-07 1:17
gauthee25-Jun-07 1:17 
GeneralRe: default page Pin
mohantfor.net25-Jun-07 1:21
mohantfor.net25-Jun-07 1:21 
Questionreflection......... Pin
Member 387988125-Jun-07 0:48
Member 387988125-Jun-07 0:48 
AnswerRe: reflection......... Pin
Christian Graus25-Jun-07 0:59
protectorChristian Graus25-Jun-07 0:59 
AnswerRe: reflection......... Pin
Sathesh Sakthivel25-Jun-07 1:10
Sathesh Sakthivel25-Jun-07 1:10 
GeneralRe: reflection......... Pin
Christian Graus25-Jun-07 1:20
protectorChristian Graus25-Jun-07 1:20 
Questionpassword strength Pin
saravanan0525-Jun-07 0:47
saravanan0525-Jun-07 0:47 
AnswerRe: password strength Pin
Christian Graus25-Jun-07 1:03
protectorChristian Graus25-Jun-07 1:03 
GeneralRe: password strength Pin
Sathesh Sakthivel25-Jun-07 1:05
Sathesh Sakthivel25-Jun-07 1:05 
GeneralRe: password strength Pin
Christian Graus25-Jun-07 1:19
protectorChristian Graus25-Jun-07 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.