Hi

I was just wondering if any of you guys know how to do this in c#

Code:
for (int cntr = 0; cntr < 2; cntr++)
{
      rbtnAns[cntr].text = arrChoice[cntr];
}
Basically, i've got three radiobuttons (rbtnAns1, rbtnAns2 & rbtnAns3) which should display arrChoice that I've declared and created earlier as arrays.

I've tried using this code in c#

Code:
for (int cntr = 0; cntr < 2; cntr++)
{
((RadioButton)this.FindControl("rbtnAns" + (cntr+1))).Text = (arrChoice[cntr]).Tostring();
}
and include these header files:

using System.Web;

I was going to add using System.Web.UI----- but this option was not available

this means i cant get the FindControl() thing to work

Any help will be appreciated