Dynamic Radio Buttons

  • Thread starter Thread starter bungle
  • Start date Start date
B

bungle

Hi,

I want to generate a questionnaire from questions held in SQL Server on
my windows application.

The format will always be the same - a question and then four radio
buttons with values 1 to 4.

Would anyone be able to suggest a way of generating this questionnaire
and then how to reference each question to get the results back?

Cheers!
 
Hi,

bungle napisa³(a):
Hi,

I want to generate a questionnaire from questions held in SQL Server on
my windows application.

The format will always be the same - a question and then four radio
buttons with values 1 to 4.

Would anyone be able to suggest a way of generating this questionnaire
and then how to reference each question to get the results back?

Cheers!

If you've got whole DB structure for your questionnaire,
where is your problem?

Create single UserControl with docked (to the Top) controls
1. questionTextLabel as Label
2. firstRadioButton as RadioButton
3. secondRadioButton as RadioButton
4. thirdRadioButton as RadioButton
5. fourthRadioButton as RadioButton

Fill the texts of this controls, and (is a good practise) leave
any of these radios unchecked.

I don't know a structure of your DB so i will not tell you more.

with regards
Marcin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top