944,159 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 7787
  • ASP.NET RSS
Apr 5th, 2007
0

generate drop down list..checkboxes...listbox...

Expand Post »
hi..

is anyone know..i have all the information about how a question should be displayed from database so that customer may review their survey question?

for examples:
Table 1: Question -
QuestionID, QuestionNum, Question, QuestionStyle
Table 2: Answer -
AnswerID, QuestionID, QuestionNum, AnswerList

eg:
QuestionID=from 1 to 10
QuestionNum=from 1 to 10
Question={examples: When Malaysia declares their Independence Day?}
QuestionStyle=MultipleSingle,MultipleMultiple,BooleanYesNo
{examples: if user select "MultipleSingle" then the preview would be in dropdown list or radio button, etc..that requires only single selection}

how to generate a various set of list that differs according to user settings of styles in something like html form?

aiyak...
it's like...if user select MultipleSingle question type for question number1..then it will display something like this:

Question 1
<the question goes here...blabablabla>
<list of radio button here from the answer list>

Question 2
<the question goes here...blabablabla>
<list of checkboxes here from the answer list>

and so on...

do anyone know how to create a template like this?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
shy_wani is offline Offline
34 posts
since Mar 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Cast from type 'DBNull" to type 'String' is not valid
Next Thread in ASP.NET Forum Timeline: Regular Expression





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC