Creating the Code Dynamically from DB

Aug 15, 2010 at 11: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.



Aug 15, 2010 at 11: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 4:53 AM
Edited Aug 16, 2010 at 4:54 AM


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...