title: How to make click event for button field in grid view asp.net
body: <p>I have dynamically created <code>GridView</code> in my .aspx from codebehind. I inserted a sql table in that <code>GridView</code>. Then I added one more button filed column. Here is the code:</p>
  
  <pre><code>ButtonField bf = new ButtonField();
  bf.Text = "Details";
  bf.ButtonType = ButtonType.Button;
  
  DataTable table = new DataTable();
  table.Load(reader);
  GridView gv = new GridView();
  gv.Columns.Add(bf);
  gv.DataSource = table;
  gv.DataBind();
  </code></pre>
  
  <p>Now I want to add a <code>MouseClickEvent</code> on this ButtonField, but there is no property <code>Click</code> or <code>MouseClick</code>. Is there any way to do this?</p>