protected void DeleteRecord(object sender, GridViewDeleteEventArgs e) { if (!IsPageRefresh) { string id = gridRegistrationTableDetails.Rows[e.RowIndex].Cells[2].Text; if (MessageBox.Show("Are you sure to delete the record?", "Delete Employee Record.!", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { deleterecordMethod(id); BindData(); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)