Hi I have a questionnaire table like :-
Q.no | Question | AnswerControlType
- | Name ? | 1
- | Gender | 3
Control Type Column entry would be like 1=> Textbox 2=> =Dropdown 3=> Radiobutton etc
Based on these values in the table I need to generate a dynamic View i.e depending on number of table entries we need to create corresponding controls onto a single view.
Please provide me with a template of Model , View and Controller
Further how do i get these control values on Form Post Action Method in the COntroller