Add image to LinkButton programmatically
<p>I want to insert an image to a LinkButton programmatically like the following aspx code:</p>

<pre><code> &lt;asp:LinkButton runat="server" &gt;&lt;img src="NewImages/tick.jpg" runat= "server" /&gt;&lt;/asp:Linkbutton&gt;
</code></pre>

<p>I am trying the following code:</p>

<pre><code> LinkButton bb = (System.Web.UI.WebControls.LinkButton)pagerTable.Rows[0].Cells[0].Controls[0];
    bb.Attributes.Add("img", "NewImages/tick.jpg");
</code></pre>

<p>P.S PLease do not tell me to use an ImageButton :). There is a reason using this</p>
