ASP.Net radio button list
<p>im trying to create a feedback form, i have a some mock code which looks similar to this</p>

<pre><code>    for (int i = 1; i &lt; 3; i++)
    {
        TableRow tr = new TableRow();
        Table1.Rows.Add(tr);
        TableCell QuestionCell = new TableCell();

        // get the text for the question and stick it in the cell
        QuestionCell.Text = "&lt;b&gt;"+i+".&lt;/b&gt; Question " + i;
        tr.Cells.Add(QuestionCell);

        TableRow tr2 = new TableRow();
        Table1.Rows.Add(tr2);

        // create a cell for the choice

        TableCell ChoicesCell = new TableCell();
        ChoicesCell.Width = 1000;

        // align the choices on the left
        ChoicesCell.HorizontalAlign = HorizontalAlign.Left;
        tr2.Cells.Add(ChoicesCell);

        RadioButtonList rbl = new RadioButtonList();
        rbl.ID = "Radio1_" + i;
        ChoicesCell.Controls.Add(rbl);

        rbl.Items.Add("1");
        rbl.Items.Add("2");
        rbl.Items.Add("3");
        rbl.Items.Add("4");
    }
</code></pre>

<p>obviously this code doesn't mean anything, its just to experiment on how i can do this feedback form, the problem im having now is once some one presses the submit button (there's a submit button on the form) how do i go through the table and get text from the radio buttons the user has selected ?? the feedback from in created on page_load !!</p>

<p>thanks for any help !!</p>

<p><strong>EDIT</strong> so i have this code once the button is pressed</p>

<pre><code>protected void Button1_Click(object sender, EventArgs e)
{
    foreach (TableCell cell in Table1.Rows)
    {
        foreach (Control ctrl in cell.Controls)
        {
            if (ctrl is RadioButtonList)
            {
                if (ctrl.selected) // this doesnt works 
                {
                    string selected = ctrl.text // this doesnt work either 
                }
            }
        }
    }
}
</code></pre>

<p>this doesn't seem to be working ... i don't know where im going wrong !!</p>
