Exemple #1
0
        /// <summary>
        /// 根据存储过程获取Datatable,第二个参数可以返回改变后的值
        /// </summary>
        /// <param name="ProcName">存储过程名字</param>
        /// <param name="pas">参数集合</param>
        /// <returns></returns>
        public DataTable GetTableByProcRef(string ProcName, ref CmdParameter[] pas)
        {
            //  string x=getIpPort();
            SqlParameter[] sqlPrams = ConvertParameter(pas);
            DataTable      dt       = sqlHelper.GetTableByProc(ProcName, ref sqlPrams);

            pas = RecoverParameter(sqlPrams);
            return(dt);
        }