62,240
社区成员




if (Request.Cookies["Importent"] == null)
{
HttpCookie cookie1 = new HttpCookie("Importent");
cookie1.Values["Importent"] = ds.Tables["试题选项"].Rows[0]["编号"].ToString();
Response.Cookies.Add(cookie1);
}
else
{
Response.Cookies["Importent"].Values["Importent"]=(string)Request.Cookies["Importent"].Values["Importent"] + "," + ds.Tables["试题选项"].Rows[0]["编号"].ToString() + "";
}
Response.Cookies["cookieName"].Expires = DateTime.Now.AddYears(1);