link button inside html table cell asp.net
<p>Hi i am dynamically creating link buttons as shown below. the problem is how to add the link button in the place of "<code>linktopage</code>". currently the link button is added below the table.</p>

<pre><code>for(i=0;i&lt;100;i++)
{
LinkButton lnk = new LinkButton();
lnk.ID = "lnk" + i;
lnk.Text = "open profile";
lnk.Click += new System.EventHandler(lnk_click);
this.Page.Form.Controls.Add(lnk);

htmlstring += "&lt;tr style='height:30px;'&gt;" +
              "&lt;td&gt;" + firstname + "&lt;/td&gt;" +
              "&lt;td&gt;" + surname + "&lt;/td&gt;" +
              "&lt;td&gt;" + email + "&lt;/td&gt;" +
              "&lt;td&gt;" + mobile + "&lt;/td&gt;" +
              **"&lt;td&gt;" + linktopage + "&lt;/td&gt;" +**
              "&lt;/tr&gt;";
                  }   
</code></pre>
