protected void lnkdelete_Click(object sender, EventArgs e) { GridViewRow row = ((LinkButton)sender).NamingContainer as GridViewRow; Label lblID = row.FindControl("lblid") as Label; _Objwfm.Delete_IssueMaster(Convert.ToInt32(lblID.Text)); Utility.MessageBox("Record Deleted Successfully."); BindGrid(); }