可以用跟ASP中一样的方法:Label1.Text = Request.Cookies["username"];