Esempio n. 1
0
        public void pTableDetail_Set(string Name, DataTable Value)
        {
            ClsBaseTableDetail Obj = null;

            foreach (ClsBaseTableDetail Inner_Obj in this.mBase_TableDetail)
            {
                if (Inner_Obj.pTableName == Name)
                {
                    Obj = Inner_Obj;
                    break;
                }
            }
            Obj.pDt = Value;
        }
Esempio n. 2
0
        public DataTable pTableDetail_Get(string Name)
        {
            ClsBaseTableDetail Obj = null;

            foreach (ClsBaseTableDetail Inner_Obj in this.mBase_TableDetail)
            {
                if (Inner_Obj.pTableName == Name)
                {
                    Obj = Inner_Obj;
                    break;
                }
            }

            DataTable Dt = null;

            if (Obj != null)
            {
                Dt = Obj.pDt;
            }

            return(Dt);
        }