Click here to Skip to main content
15,908,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: uneable to sort my listview Pin
Daniel Turini11-Dec-04 21:21
Daniel Turini11-Dec-04 21:21 
GeneralWin2k Socket Security Exception Pin
Tristan Rhodes10-Dec-04 21:10
Tristan Rhodes10-Dec-04 21:10 
QuestionDuplicated items in watch window ? Pin
sachinkalse10-Dec-04 18:23
sachinkalse10-Dec-04 18:23 
AnswerRe: Duplicated items in watch window ? Pin
Heath Stewart10-Dec-04 20:55
protectorHeath Stewart10-Dec-04 20:55 
GeneralBeta 2.0 limitations Pin
Yaakov Davis10-Dec-04 17:46
Yaakov Davis10-Dec-04 17:46 
GeneralRe: Beta 2.0 limitations Pin
Heath Stewart10-Dec-04 20:46
protectorHeath Stewart10-Dec-04 20:46 
GeneralRe: Beta 2.0 limitations Pin
Yaakov Davis10-Dec-04 22:22
Yaakov Davis10-Dec-04 22:22 
QuestionHow to Create static Enum like ConnectionState Pin
trevor_ledet10-Dec-04 15:21
trevor_ledet10-Dec-04 15:21 
How do you create a stand alone static enum (I guess class) that can be accessed through it's Namespace. Like for instance....

Like in the Namespace System.Data the enums

ConnectionState
CommandType
DataRowAction

In these instances when I want to check a connection's state I compare my connection object's State property to (With no using statement) System.Data.ConnectionState.Open

How do I create a custom enum class inside by Namepsace that I can reference directly without having to reference through a created object?

Thanks for the help!


Trevor Ledet Newbie.
AnswerRe: How to Create static Enum like ConnectionState Pin
Heath Stewart10-Dec-04 20:51
protectorHeath Stewart10-Dec-04 20:51 
GeneralRe: How to Create static Enum like ConnectionState Pin
trevor_ledet11-Dec-04 5:52
trevor_ledet11-Dec-04 5:52 
GeneralMOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 15:19
Tyrus18210-Dec-04 15:19 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 16:28
Skynyrd10-Dec-04 16:28 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:03
Tyrus18210-Dec-04 17:03 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 17:07
Skynyrd10-Dec-04 17:07 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:15
Tyrus18210-Dec-04 17:15 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:14
Tyrus18210-Dec-04 17:14 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 17:17
Skynyrd10-Dec-04 17:17 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:29
Tyrus18210-Dec-04 17:29 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:44
Tyrus18210-Dec-04 17:44 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 19:10
Skynyrd10-Dec-04 19:10 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 19:54
Tyrus18210-Dec-04 19:54 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd11-Dec-04 2:08
Skynyrd11-Dec-04 2:08 
GeneralsqlCommand in C# Pin
John L. DeVito10-Dec-04 12:48
professionalJohn L. DeVito10-Dec-04 12:48 
GeneralRe: sqlCommand in C# Pin
Heath Stewart10-Dec-04 13:03
protectorHeath Stewart10-Dec-04 13:03 
GeneralCallContext SerializationException Pin
Skynyrd10-Dec-04 12:48
Skynyrd10-Dec-04 12:48 

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.