//filed //Method #region 获取数据 internal DataTable GetDataView(string _sql) { DataTable dtRst = new DataTable(); DbHandle DbH = new DbHandle(); return dtRst = DbH.GetData(_sql); }
internal bool Update(string _tabName, string _where) { bool bRst = false; DbHandle dbH = new DbHandle(); bRst = dbH.Update(_tabName, _where); return bRst; }
internal int GetCount(string _tabName, string _where) { int iRst = 0; DbHandle dbH = new DbHandle(); iRst = dbH.GetCount(_tabName, _where); return iRst; }
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; }
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; }