Solved

Using Repeater with Questions and Multiple Choice Answers

Posted on 2007-04-10
1
274 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

18 Experts available now in Live!

Get 1:1 Help Now