cookies问个很菜的问题啊, Request.Cookies["studentID"].Value 获取 cookies值时,Request.Cookies["studentID"].Value是string类型的,怎么转换成int类型啊。studentID保存的值是int型的。 [解决办法]Convert.ToInt32()Int.Parse();