Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Creating a survey application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack - 07 Dec 2007 18:45 GMT
Hello All,

I am new to ASP.NET, and i have a small project in hand. I hope someone can
kick me in the right direction.

I have to make a survey application. Data is stored in an sql database as
following:

Table: QuestionCategories
Columns: QuestionCategoryID, QuestionCategoryName

Table:Questions
Columns: QuestionID, QuestionCategoryID, Question

The survey application should look in the QuestionCategories table, and
display all questions related to one category in one page, next category in
another and so on... For each question, there will be 9 radio buttons to
choose from. User should be able to navigate the pages back n forth until he
has answered all the questions. The last page should save the questions in
the database upon clicking "finish" button.

I tried it by creating 2 datasources. CategoriesDS and QuestionsDS.
Then i created a repeater with CategoriesDS.
Then i tried to create a nested repeater for Questions related to the
specific category. But i could not manage to assign the value of
QeustionCategoryID to the select parameter of QuestionsDS.

I also tried to use the wizard control, but i am not sure how i can
dynamically add steps from a datasource, and how can i list the questions
inside each step related to a category.

Any ideas will be appriciated.

Thanks

Jack
Juan T. Llibre - 07 Dec 2007 18:51 GMT
One of these links, returned by a Google search, should help you :

http://www.google.com/search?hl=en&q=%22survey+application%22+%22asp.net%22+sample

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Hello All,
>
[quoted text clipped - 26 lines]
>
> Jack

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.