Click here to Skip to main content
13,295,218 members (56,712 online)
Click here to Skip to main content

Tagged as

Stats

3.2K views
1 bookmarked
Posted 30 Dec 2010

Bind Enum data to Dropdown List By Sorting

, 30 Dec 2010
here is what I do to iterate through enumpublic static ABC(Type enumType){ foreach (Enum e in Enum.GetValues(enumType)) { int tvalue = Convert.ToInt32(e); string tname = e.ToString(); }}

Revisions


  

Compare Revision Minor Date Status Editor
1 - publicly available No 30-Dec-10 2:41 Available Xmen Real

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Xmen Real
CEO
India India
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171207.1 | Last Updated 30 Dec 2010
Article Copyright 2010 by Xmen Real
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid