예제 #1
0
        /// <summary>
        /// 存储过程生成编号
        /// </summary>
        /// <returns></returns>
        public string BH()
        {
            string       sql = "proc_SJBH";
            SqlParameter ps  = new SqlParameter()
            {
                ParameterName = "@Cid",
                SqlDbType     = System.Data.SqlDbType.VarChar,
                Size          = 14,
                Direction     = System.Data.ParameterDirection.Output
            };

            SqlDBHelper.SelectFenYe(sql, ps);
            return(ps.Value.ToString());
        }