Click here to Skip to main content
16,019,427 members

Comments by Rohan Chavan (Top 3 by date)

Rohan Chavan 3-Oct-15 11:24am View    
Deleted
foreach (RepeaterItem ri in Repeater1.Items)
{
RadioButton rd = (RadioButton)ri.FindControl("RadioButton1");

if (rd.Checked == false)
{
rdValues = rdValues + rd.Text;
}
}
foreach (RepeaterItem ri in Repeater1.Items)
{
RadioButton rd = (RadioButton)ri.FindControl("RadioButton2");

if (rd.Checked == false)
{
rdValues = rdValues + rd.Text;
}
}
foreach (RepeaterItem ri in Repeater1.Items)
{
RadioButton rd = (RadioButton)ri.FindControl("RadioButton3");

if (rd.Checked == false)
{
rdValues = rdValues + rd.Text;
}
}

foreach (RepeaterItem ri in Repeater1.Items)
{
RadioButton rd = (RadioButton)ri.FindControl("RadioButton4");

if (rd.Checked == false)
{
rdValues = rdValues + rd.Text;
}
}
Response.Write(rdValues);

sir this is not working
Rohan Chavan 2-Oct-15 12:38pm View    
perfect thank you so much sir!!1
Rohan Chavan 2-Oct-15 2:23am View    
i am developing online test system. i have used repeater control and within repeater label for question and radiobuttons for option i.e mcq opion , i am not able to access those radiobutton to create final report(result),also i have bound those radiobutton with database using eval method ,and my datbase contaion column as col1:question,col2: optiona col3:optionb, col4:optionc col5:optiond col5:correctoption so i want to compare the value of selected radio button with column correctoption to generate report