示例#1
0
 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.");
     }
 }
示例#2
0
 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.");
     }
 }