Пример #1
0
 private bool ValidateAndSave()
 {
     try
     {
         if (objPayMasMgr.CheckForMultipleCLOAEntry(txtEffDate.Text.Trim()) == true)
         {
             lblMsg.Text = "COLA has already adjusted for '" + txtEffDate.Text.Trim() + "' date's month & year";
             return(false);
         }
         return(true);
     }
     catch (Exception ex)
     {
         lblMsg.Text = "";
         throw (ex);
     }
 }