Hi,
You can use rowcommand instead of current coding.
Give CommandName to Chechbox in gridview. say "Check1"
You have to do the code on RowCommand event of gridview. check following example
void ProductsGridView_RowCommand(Object sender, GridViewCommandEventArgs e)
{
if(e.CommandName=="check1")
{
}
}
Thanks,
Bh@gyesh