Solved

Using Repeater with Questions and Multiple Choice Answers

Posted on 2007-04-10
1
282 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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.…

808 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