RadioButtonList loaded from SQL

Joined
May 18, 2009
Messages
1
Reaction score
0
I am just trying to get the Selected index from a RadioButtonList on a button click. I have

Label2.Text = RadioButtonList1.SelectedIndex.ToString();
as the code I am using. It is not working when I load the RadioButtonList.Items from a SQL DB, but works just fine when I just add data in be hand. I am using VS05 and SQL05. Any sugestion would be great. Thanks
 

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