利用RowDeleted事件檢查
protected void GridView1_RowDeleted(object sender, GridViewDeletedEventArgs e)
{
if(e.AffectedRows > 0)
{
lbMessage.Text = "Success";
}
else
{
lbMessage.Text = "Error";
}
}