コード例 #1
0
        //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);
        }