The
GridView.RowCommand Event[
^] will handle the button click.
You need to add one attribute
onrowcommand="MyGridView_RowCommand"
inside GridView MarkUp.
And define the Event in Code Behind as follows.
void MyGridView_RowCommand(Object sender, GridViewCommandEventArgs e)
{
if(e.CommandName=="SELECT")
{
}
}
Refer the MSDN link given above to know more and see the implementations.