Пример #1
0
 protected void btnGetGatewayStatus_Click(object sender, EventArgs e)
 {
     try
     {
         txtResults.Text             = "";
         btnGetGatewayStatus.Enabled = false;
         RecurringOrderMgr rmgr = new RecurringOrderMgr();
         btnProcessFile.Visible = true;
         btnProcessFile.Enabled = true;
         String sResults = String.Empty;
         String Status   = rmgr.GetAutoBillStatusFile(RecurringGateway, out sResults);
         if (Status == AppLogic.ro_OK)
         {
             txtInputFile.Text = sResults;
         }
         else
         {
             txtInputFile.Text = Status;
         }
     }
     catch (Exception exception)
     {
         SysLog.LogException(exception, MessageTypeEnum.GeneralException, MessageSeverityEnum.Error);
     }
 }
        protected String GetGatewayStatus()
        {
            String sResults = String.Empty;

            RecurringOrderMgr rmgr   = new RecurringOrderMgr(AppLogic.MakeEntityHelpers(), null);
            String            Status = rmgr.GetAutoBillStatusFile(m_GW, out sResults);

            if (Status == AppLogic.ro_OK)
            {
                return(sResults);
            }
            else
            {
                return(String.Empty);
            }
        }
Пример #3
0
        protected void btnGetGatewayStatus_Click(object sender, EventArgs e)
        {
            txtResults.Text             = "";
            btnGetGatewayStatus.Enabled = false;
            RecurringOrderMgr rmgr = new RecurringOrderMgr(AppLogic.MakeEntityHelpers(), null);

            btnProcessFile.Visible = true;
            btnProcessFile.Enabled = true;
            String sResults = String.Empty;
            String Status   = rmgr.GetAutoBillStatusFile(m_GW, out sResults);

            if (Status == AppLogic.ro_OK)
            {
                txtInputFile.Text = sResults;
            }
            else
            {
                txtInputFile.Text = Status;
            }
        }