Using Repeater with Questions and Multiple Choice Answers

Posted on 2007-04-10
Medium Priority
Last Modified: 2012-06-21
I have a repeater that needs to hold:

        Question 1
                 RadioButtonList of answers:
                      A. blue
                      B.  yellow
                      C.  red

       Question 2
                  RadioButtonList of answers:
     on and on.

     If I have a Generic List of Question Objects that contain:
              1.  The question
              2.  A Generic List of Answers

     How do I bind that to the Repeater???

      Is there another way or control I should be using?

Thanks in advance,
Question by:HAMMER33333
1 Comment
LVL 14

Accepted Solution

steveberzins earned 2000 total points
ID: 18886311
I'm going to assume you will have this data in a dataset, in a similar heirarical format to what you want to display, there is a fair how to here:

gives a reasonable how to, on how to nest repeaters to do what you want.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question