Exemple #1
0
        //JIRA-938 Changes done by Ravi on 28/01/2019 -- End

        protected void btnAdHocFileLoad_Click(object sender, EventArgs e)
        {
            try
            {
                string   message;
                CommonBL commonBl = new CommonBL();
                commonBl.LoadAdhocCostFile(out message, out errorId);
                commonBl = null;
                if (errorId == 0)
                {
                    msgView.SetMessage(message, MessageType.Warning, PositionType.Auto);
                }
                else if (errorId == 2)
                {
                    msgView.SetMessage("Error in loading Adhoc/Cost file", MessageType.Warning, PositionType.Auto);
                }
            }
            catch (Exception ex)
            {
                ExceptionHandler("Error in loading Adhoc/Cost file", ex.Message);
            }
        }