There was a question about this on the Asp.Net forums and after a quick search I didn't find a good generic function so I thought I'd supply one. Note: I wanted this to be as broad and useful as possible, so the second parameter is a ListControl which...
Enums are great. They provide additional type safety and make code more readable. Converting enums to strings is trivial. Converting strings to enums is not as straightforward...so here is a code snippet: // This enum is in the .Net frameworkpublic enum...