HttpCookie根本没有出现在课堂上。 [英] HttpCookie not appearing as class at all.

查看:92
本文介绍了HttpCookie根本没有出现在课堂上。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用System.Web;



HttpCookie作为课程不可见。



我可以请参阅[Cookie]类,但它来自(使用System.Net);(而不是来自Web)



我想念的是什么?



我使用VS 2010.也许这就是为什么我看不到这个类?

using System.Web;

HttpCookie is not visible as a class.

I can see [Cookie] class but its from (using System.Net);(and not from Web)

What I miss?

I use VS 2010. Maybe that's why I can not see the class?

推荐答案

看一下参考项目。 System.Web应该在那里。
Take a look at reference's project. System.Web should be there.


这篇关于HttpCookie根本没有出现在课堂上。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆