How to access elements of a gridview
<p>i have a asp buttonfield in a asp:gridview as follows</p>

<pre><code>&lt;asp:ButtonField ButtonType="Button" CommandName="Select" HeaderText="View" ShowHeader="True" Text="View" /&gt;
</code></pre>

<p>How do I access this element and give it some functionality(meaning, when i click the button, I want it to do something and not stare at me !)</p>

<p>thanks in advance</p>
