Ejemplo n.º 1
0
        /// <summary>
        /// 删除所对应的展厅信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int DeleteShow(int id)
        {
            int    num = 0;
            string sql = "delete from CompanyShow where CompanyID=@id ";

            SqlParameter[] para =
            {
                new SqlParameter("@id", SqlDbType.Int, 8)
            };
            para[0].Value = id;
            num           = Convert.ToInt32(crm.GetSingleShow(sql, para));
            return(num);
        }