Solved

Using Repeater with Questions and Multiple Choice Answers

Posted on 2007-04-10
1
276 Views
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,
Hammer
0
Comment
Question by:HAMMER33333
1 Comment
 
LVL 14

Accepted Solution

by:
steveberzins earned 500 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:
http://support.microsoft.com/kb/306154

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now