//them
        public DataTable GetAllBox()
        {
            IDbCommand cmd   = _db.CreateCommand("GetAllBox", true);
            DataTable  table = _db.CreateDataTable(cmd);

            return(table);
        }
Пример #2
0
        public DataTable vc_Execute_Sql(String sSql)
        {
            IDbCommand cmd = _db.CreateCommand("vc_Execute_Sql", true);

            _db.AddParameter(cmd, "sSql", DbType.String, sSql);
            DataTable table = _db.CreateDataTable(cmd);

            return(table);
        }