Get the type of Enum
- From: Duggi <DuggiSrinivasaRao@xxxxxxxxx>
- Date: Tue, 21 Oct 2008 07:39:16 -0700 (PDT)
Hi
I need to pass the type of Enum as System.Type to a method. Any idea
how to do that?
Something like below code I was looking for
DataSet ds = new DataSet();
DataTable dt = new DataTable("MyTable");
dt.Columns.Add("CheckBoxColumn",
Type.GetType(System.Windows.Forms.CheckState));
Help would be appreciated.
-Cnu
.
- Follow-Ups:
- Re: Get the type of Enum
- From: Marc Gravell
- Re: Get the type of Enum
- Prev by Date: exe does not complete under IIS
- Next by Date: Re: Determing folder size using c# (perfomance)
- Previous by thread: exe does not complete under IIS
- Next by thread: Re: Get the type of Enum
- Index(es):