Creating the Code Dynamically from DB

Aug 15, 2010 at 10:22 PM

Hi, just wondering if there is a sample code that can show me how to use this dynamically - result set from the DB or model class.

Thanks

Learning... 

Coordinator
Aug 15, 2010 at 10:44 PM
The code sample included will show you how to construct the form fields. How you get the data to build the form is up to you.
Aug 16, 2010 at 3:53 AM
Edited Aug 16, 2010 at 3:54 AM

Ok.

So the best way is to pass my class to the helper, loop through the class and put it together. Helper will return "form" back to the controller which then i can bind to the view...

Thanks