Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
I have a task where i have to create a contest page i have already created a table called tblcontest tblcontest have contestid which is a primary key 2) i have tblquestion where iam storing the questions and these questions will be related to contest id hence in tblquestion i have created primary key as questionid and foreignkey as contestid 3) i have tblanswers which is storing 4 choice answers related to question id in tblanswers i have answerid as primary key and foreignkey as question id 4) the tblquestionanswers is having the questionid and answerid the question id is a question and answerid is a answer to the question Now in asp.net page iam unable to call three questions with their multiple choice questions i mean to say the quiz will have 3 question with multiple choice answers each question will have 4 answers below to this question i have also user info to store so i have created a tbluser with userid as a primary key now, please help me how to fetch the data in asp.net page where i should be able to display 3 questions with 4 choice answers to each question also the moment user submit the answers by clicking the submit button it shld store the user info as well as his answers history and later i should be able to see who is the winner or loser three correct quesion answers will make him winner
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.