标签:code expires null col tostring exp value string ring
if (Request.Cookies["svpoint"] != null) { Request.Cookies["svpoint"].Value = lst[0].s_SvcID.ToString(); } else { HttpCookie aCookie = new HttpCookie("svpoint"); aCookie.Value = lst[0].s_SvcID.ToString(); aCookie.Expires = DateTime.Now.AddDays(1); Response.Cookies.Add(aCookie); }
标签:code expires null col tostring exp value string ring
原文地址:http://www.cnblogs.com/rockywood/p/7770759.html