protected void btnInActive_Click(object sender, EventArgs e) { if (BAL_Zones.DeleteZones("inactive", ReturnIds()) == true) { ShowMessage("Record Deactivated succefully"); FillGrid(); } else { ShowMessage("Error in record deactivation."); } }
protected void btnDelete_Click(object sender, EventArgs e) { if (BAL_Zones.DeleteZones("delete", ReturnIds()) == true) { ShowMessage("Record Deleted Successfully."); FillGrid(); } else { ShowMessage("Error in record deletion."); } }