Exemple #1
0
        public DataTable CustomerQuery(string Sqlstring, ref string ReturnMSG)
        {
            DataTable dt = new DataTable();

            try
            {
                BaseBll <T_HR_COMPANY> bll = new BaseBll <T_HR_COMPANY>();
                dt = bll.CustomerQuery(Sqlstring) as DataTable;
            }
            catch (Exception ex)
            {
                ReturnMSG = ex.ToString();
                Tracer.Debug(ex.ToString());
            }
            return(dt);
        }
Exemple #2
0
 public DataTable CustomerQuery(string Sqlstring,ref string ReturnMSG)
 {
     DataTable dt = new DataTable();
     try
     {
       
         BaseBll<T_HR_COMPANY> bll = new BaseBll<T_HR_COMPANY>();
         dt = bll.CustomerQuery(Sqlstring) as DataTable;
     }
     catch (Exception ex)
     {
         ReturnMSG = ex.ToString();
         Tracer.Debug(ex.ToString());
     }
     return dt;
 }