telliot79
asked on
Control to dynamically create questions from records in a database.
Hi Experts,
I'm in the process of creating a questionnaire in an asp.net webform. The questions will be database records which I'd then use to create the questionnaire. I think I'll need to use a datagrid to show the questions and then I'd like to have a dropdownlist or radio buttons for the answers. Is this the correct/best approach and if so, does anyone have any examples of the best way to do this?
Many thanks in advance for the help,
I'm in the process of creating a questionnaire in an asp.net webform. The questions will be database records which I'd then use to create the questionnaire. I think I'll need to use a datagrid to show the questions and then I'd like to have a dropdownlist or radio buttons for the answers. Is this the correct/best approach and if so, does anyone have any examples of the best way to do this?
Many thanks in advance for the help,
Well it depends on the question. You should list down the types of questions you want to include then from there you can plan on how you display your questions as well as the answers. Example types of questions are multiple choice, fill in the blank, essay,identification,etc. Also your database structure will depend on these.
ASKER
this got me on the right track.
https://www.codeproject.com/Articles/486564/ASP-NET-Simple-Survey-Application
https://www.codeproject.com/Articles/486564/ASP-NET-Simple-Survey-Application
Glad to hear that
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.