示例#1
0
 public string GetNext(string Table, string CodeField, string Code)
 {
     try
     {
         WindowsFormDal WindowsFormDal = new WindowsFormDal();
         return(WindowsFormDal.GetNext(Table, CodeField, Code));
     }
     catch (Exception)
     {
         return("");
     }
 }
示例#2
0
        public object GetNextID(string Table, string ID)
        {
            try
            {
                WindowsFormDal WindowsFormDal = new WindowsFormDal();

                return(WindowsFormDal.GetNextID(Table, ID));
            }
            catch (Exception)
            {
                return(0);
            }
        }
示例#3
0
        public object GetNextCode(string Table, string Code)
        {
            try
            {
                WindowsFormDal WindowsFormDal = new WindowsFormDal();

                return(WindowsFormDal.GetNextCode(Table, Code));
            }
            catch (Exception)
            {
                return(0);
            }
        }
示例#4
0
        public DataTable GetID(string TableName, string CodeField, int ID)
        {
            try
            {
                WindowsFormDal WindowsFormDal = new WindowsFormDal();

                return(WindowsFormDal.GetID(TableName, CodeField, ID));
            }
            catch (Exception)
            {
                return(null);
            }
        }
示例#5
0
        public DataTable GetAll(string TableName)
        {
            try
            {
                WindowsFormDal WindowsFormDal = new WindowsFormDal();

                return(WindowsFormDal.GetAll(TableName));
            }
            catch (Exception)
            {
                return(null);
            }
        }
示例#6
0
        public object GetAllByID(string TableName)
        {
            try
            {
                WindowsFormDal WindowsFormDal = new WindowsFormDal();

                return(WindowsFormDal.GetByID(TableName));
            }
            catch (Exception)
            {
                return(null);
            }
        }