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

ASP.NET

 
GeneralRe: include file Pin
Christian Graus25-Jun-07 2:48
protectorChristian Graus25-Jun-07 2:48 
GeneralRe: include file Pin
Sebastian T Xavier25-Jun-07 2:57
Sebastian T Xavier25-Jun-07 2:57 
GeneralRe: include file Pin
Fred_Smith25-Jun-07 3:56
Fred_Smith25-Jun-07 3:56 
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 
If you want this enumeration to be available anywhere in your project (on any page) you need to create a new class (.cs) file and place it in there as a public enumeration - eg

public enum Colours
{
Blue, Green, Red
};

To create the class file open Solution Explorer, rifht-click on the root folder of your project and select "Add / Add new Item... " and select the "Class" template - save it with a sensible name.

Then add your enumeration to the class and save.

You should now be able to reference the enumeration by preceding it with the class name.


Frdd

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 
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 

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.