Esempio n. 1
0
        public static Result DataSetExecute(string sql, SqlParameter[] obj)
        {
            Result res = new Result(true);

            res.Data = CDataCon.ExecuteDataset(GetConStr(), System.Data.CommandType.Text, sql, obj);

            return(res);
        }
Esempio n. 2
0
        public static Result DataSetExecute(string sql)
        {
            Result res = new Result(true)
            {
                Data = CDataCon.ExecuteDataset(GetConStr(), System.Data.CommandType.Text, sql)
            };

            return(res);
        }