Questionnaire how-to?
Hello,
I apologize if this question has already been answered.
I am just getting started with ASP/ADO.NET and have been given the assignment of developing a multi-page questionnaire.
I have decided to go with the following structure for my answer table:
id,
userId,
questionId,
value
What I am trying to do (and I apologize if I am phrasing this incorrectly) is pass a 2-dimensional array of questionIds and value pairs to a method, which I have defined in an Object Data Source (an Answer class). I would like to loop over this array and add the name/value pairs to the table.
I have looked everywhere for a real-world ASP.NET solution to this problem and have found nothing (Perhaps I am asking the wrong question, also!).
If any one can provide me with a solid example of how I can achieve this or point me to one, I would be most appreciative.
Any additional explanations, advice, in gathering information related to ASP and ADO.NET are welcome.
Thank you so much!
|