Ejemplo n.º 1
0
 public DataSet GetData()
 {
     try
     {
         DataSet dtResult = new DataSet();
         MAVC_Integration.IntegrationDAL DAL = new MAVC_Integration.IntegrationDAL();
         dtResult = DAL.GetRecord();
         return(dtResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
        public void TransferRecord()
        {
            try
            {
                DataSet dtResult = new DataSet();
                MAVC_Integration.IntegrationDAL DAL = new MAVC_Integration.IntegrationDAL();
                DAL.bll  = this;
                dtResult = DAL.TransferRecord();

                if (dtResult.Tables.Count > 0)
                {
                    if (dtResult.Tables[0].Rows.Count > 0)
                    {
                        Status     = (string)dtResult.Tables[0].Rows[0]["Status"];
                        ExternalID = (string)dtResult.Tables[0].Rows[0]["ExternalID"];
                    }
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }