473,395 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Questionnaire with DropDownList

^^
Hi,
I'm trying to implement an online questionnaire consisting of some
multi-choice questions and some text questions.

The multi-choice questions will be in a Dropdownlist, but each
multi-choice question has a set of possible answers depending on it's
QuestionType. eg. QuestionType "sex" will have two options: Male and
Female. Age will be plain text. Salary range will have 5 different
QuestionTypeOptions eg. 1. less than $10k, 2. $10k - $20k etc. Many
of these QuestionTypes will be generic - eg. a 5 scale like/dislike
option (Liked a lot through to disliked a lot).

My DB has a Question table, QuestionType table, and QuestionTypeOption

So, my question is: is it possible to implement something like this
using a Datagrid or Datarepeater? At the moment I'm rendering it by
constructing an HTML table on the fly. I haven't got to saving the
results yet.

Thanks for any advice
-Matt
Listening to: 'Time Is The Enemy' from 'Café Del Mar Volumen Nueve' by
'Quantic' on Media Center 9.1
Nov 18 '05 #1
2 1060
can you be more clear as to what is the requirement?
i mean what needs to be displayed in the datagrid finally??

Av.
"^^@++" <ma**@smashing-pumpkins.com> wrote in message
news:b2**************************@posting.google.c om...
Hi,
I'm trying to implement an online questionnaire consisting of some
multi-choice questions and some text questions.

The multi-choice questions will be in a Dropdownlist, but each
multi-choice question has a set of possible answers depending on it's
QuestionType. eg. QuestionType "sex" will have two options: Male and
Female. Age will be plain text. Salary range will have 5 different
QuestionTypeOptions eg. 1. less than $10k, 2. $10k - $20k etc. Many
of these QuestionTypes will be generic - eg. a 5 scale like/dislike
option (Liked a lot through to disliked a lot).

My DB has a Question table, QuestionType table, and QuestionTypeOption

So, my question is: is it possible to implement something like this
using a Datagrid or Datarepeater? At the moment I'm rendering it by
constructing an HTML table on the fly. I haven't got to saving the
results yet.

Thanks for any advice
-Matt
Listening to: 'Time Is The Enemy' from 'Café Del Mar Volumen Nueve' by
'Quantic' on Media Center 9.1

Nov 18 '05 #2
^^
Something like:

Question Number | Question Text | Answer area
1. How are you? ___________ <- Textbox
2. Sex? Male / Female <- Dropdownlist

So the Answer area will either be an empty Textbox or a DropDownList
with content retreived from the QuestionTypeOption table.

This data will have to be written back to the Answer table which has
schema
QuestionID | UserID | Answer

Thanks
-Matt

"avnrao" <av*@newsgroups.com> wrote in message news:<uw*************@TK2MSFTNGP12.phx.gbl>...
can you be more clear as to what is the requirement?
i mean what needs to be displayed in the datagrid finally??

Av.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jason A. Thompson | last post by:
Dear Access Gurus, I have a database which I hoped to use to administer questionnaires, or rather that someone who knows nothing about Access could use to administer them. Each q'aire item is on...
3
by: Tom_F | last post by:
To comp.databases.ms-access -- I have a questionnaire for which I would like to design a MIcrosoft Access form. I understand that the proper Access table structure would be: Respondent_ID ...
0
by: Christian Zotter | last post by:
Hello NG, I am a student at UDA in Austria, Austrian Partner of International Universities. To finnish my study i have to do a final year project. I have choosen the topic 'Evaluation of low...
3
by: standon410 | last post by:
Hi, I'm trying to develop a questionnaire...basically a user can pick one of 5 questionnaires they want to use, and based on their choice, those questions will appear in their form. So the...
1
by: javedna | last post by:
Can PHP help with the following as I have tried in the MYSQL Forums and cant get any help Thanks Nabz ---------------------------------------- Hi I am developing a PHP MYSQL questionnaire...
7
by: javedna | last post by:
Hi guys Ive got a simple problem, im designing an online questionnaire and on submission the coding that I have used to validate whether a user has filled in all the questions is supposed to...
2
by: Vili | last post by:
Hi all I am having problems with creating an functional questionnaire with asp.net 2.0 and MSSQL 2005 database. I have a table with field id (key & auto int), clientId (int), QuestionId...
10
by: fishlab | last post by:
Hello I'm using visual basic 2005 and i'm really useless and completely stuck. i'm making a questionnaire with a track bar from 1-7 to collect reponses. I have three forms. The first form...
6
by: Lakesider | last post by:
Dear NG, I want to create a dynamic questionnaire/survey application with .NET / C#. I want to ask questions and have several answer types: Yes/No, 1-10, list of answers, eg. "Dog", "Bird" and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.