jQuery, HTML5, Google Maps API
Ruslan's coding weblog
Sign in
|
Join
Home
Contact
RSS
Atom
Comments RSS
Search
Tags
.NET
AJAX
AJAX Panel
ArrayList
ASP .NET
ASP.NET
AsyncPostback
AutoCompleteExtender
C#
CSS
CSV
DataControlRowState
DataSet
Delegate
e.Row.RowState
Enum
Enumeration
Event
Excel
GeoLocation
Google Distance Matrix API
Google Maps API
GridView
HTML
HTML5
JavaScript
jQuery
KML
ListBox
Object
Report
RowState
SQL
Store Locator
Strin to Enum
String
System.IO
TextReader
Trigger
UpdatePanel
Visual Studio
WYSIWYG
Sponsors
advertise here
News
Navigation
Home
Blogs
Archives
April 2012 (1)
October 2008 (2)
August 2008 (1)
April 2008 (1)
March 2008 (2)
February 2008 (7)
April 2008 - Posts
2
Comments
string to enum
by
funky_rus
How do you convert a string into an enumeration? object Enum .Parse(System. Type enumType, string value, bool ignoreCase); example: enum Colour { Red, Green, Blue } Colour c = ( Colour ) Enum .Parse( typeof ( Colour ), "Red" , true ); Console .WriteLine...
Filed under:
C#
,
.NET
,
Enum
,
Strin to Enum
,
Enumeration
,
String
More Posts