views:

12

answers:

0

Hi All,

I'm a total noob, so forgive me in advance if there's something very obvious I'm missing here.

I'm working on refactoring some Web applications from ColdFusion to ASP.NET MVC 2. I'm trying to create a radio button list based on this article:

http://stackoverflow.com/questions/2512809/has-anyone-implement-radiobuttonlistfort-for-asp-net-mvc

I'm able to do this with an enum, as the example provides, but I'm really struggling with how I'd create this based on the results of a database. I'm wondering if anyone has done this, and if so, what method you used to solve this.

If you can provide an explanation and/or a code sample I'd be eternally grateful.

Thanks in advance!

Cheers,

-Maashu