Create Runtime LinkButton
<p>For creating runtime linkbutton i used this code </p>

<pre><code>for (int i = 0; i &lt;= 10; i++)
        {
            r = new TableRow();
        t.Rows.Add(r);

        for (int j = 0; j &lt;= 2; j++)
        {
            c = new TableCell();

            r.Cells.Add(c);

            LinkButton btnLnk = new LinkButton();
            btnLnk.Text = "Hello";
            btnLnk.Visible = true;
            btnLnk.CommandName = "Test";
            btnLnk.CommandArgument = "1";
            btnLnk.ID = "Hi";

            c.Controls.Add(ll);

        }

    }
</code></pre>

<p>This Error is occured...</p>

<p>"Control 'ctl34' of type 'LinkButton' must be placed inside a form tag with runat=server. "</p>

<p>Please give me soluation for this</p>
