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

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2007
Posts: 34
Reputation: shy_wani is an unknown quantity at this point 
Solved Threads: 0
shy_wani shy_wani is offline Offline
Light Poster

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

 
0
  #1
Apr 5th, 2007
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?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC