asp LinkButton to call a C# method
<p>According to MSDN I can have an OnClick for a LinkButton --> <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.linkbutton.onclick(v=VS.90).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.linkbutton.onclick(v=VS.90).aspx</a></p>

<p>However, When I try to do following </p>

<pre><code> foeach(var item in items)
 {
 var link = new LinkButton
           {
               Text = item.Policy.PolNumber,
               OnClick = 
           };
 }
</code></pre>

<p>I don't have access to OnClick :-( where I can specify a C# function to be called. I do however have OnClientClick but that is for calling javascript function :-( Right?
I also tried</p>

<pre><code>var link = new LinkButton {Text = item.Policy.PolNumber};
link.Click +=new EventHandler(link_Click);

protected void link_Click(object sender, EventArgs e)
{
   //Do my stuff
}
</code></pre>

<p>This is never being executed :-(</p>

<p>I am trying to achieve this with a ASP table. In the foreach loop I am also doing.</p>

<pre><code>var tRow = new TableRow();
var link = new LinkButton {Text = holding.Policy.PolNumber};
link.Click +=new EventHandler(link_Click);
var tCell = new TableCell ();
tCell.Controls.Add(link);
tRow.Cells.Add(tCell);
</code></pre>
