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
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