Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

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
publicly available No 30-Dec-10 7:41 Available XmenWK

License

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

Share

About the Author

XmenWK
CEO
India India
No Biography provided

| Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 30 Dec 2010
Article Copyright 2010 by XmenWK
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid