Esempio n. 1
0
        //filed

        //Method

        #region 获取数据
        internal DataTable GetDataView(string _sql)
        {

            DataTable dtRst = new DataTable();

            DbHandle DbH = new DbHandle();

            return dtRst = DbH.GetData(_sql);
        }
Esempio n. 2
0
        internal bool Update(string _tabName, string _where)
        {
            bool bRst = false;

            DbHandle dbH = new DbHandle();

            bRst = dbH.Update(_tabName, _where);

            return bRst;
        }
Esempio n. 3
0
        internal int GetCount(string _tabName, string _where)
        {
            int iRst = 0;

            DbHandle dbH = new DbHandle();

            iRst = dbH.GetCount(_tabName, _where);

            return iRst;
        }
Esempio n. 4
0
        internal bool UpdateMany
            (string _tabName, List<string> _field, List<string> _value, string _where)
        {
            bool bRst = false;

            DbHandle dbH = new DbHandle();

            bRst = dbH.UpdateMany(_tabName, _field, _value, _where);

            return bRst;
        }
Esempio n. 5
0
        internal bool Insert
            (string _tableName, List<string> _field, List<string> _value)
        {
            bool bRst = false;

            DbHandle dbH = new DbHandle();

            bRst = dbH.Insert(_tableName, _field, _value);

            return bRst;
        }