Example #1
0
        String GetErrorMessages()
        {
            try
            {
                StringBuilder sbError = new StringBuilder();

                Validators.AppendToStringBuilder(Validators.GetErrorMessage(errBatchDetails, cmbMfgBatch), ref sbError);
                Validators.AppendToStringBuilder(Validators.GetErrorMessage(errBatchDetails, txtBatchUnPackQty), ref sbError);

                return(Common.ReturnErrorMessage(sbError).ToString());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }