VS2005类文件里取Session的有关问题.

VS2005类文件里取Session的问题.....在2003里可以这样System.Web.HttpContext.Current.Session[ UserID

VS2005类文件里取Session的问题.....
在2003里可以这样
System.Web.HttpContext.Current.Session[ "UserID "]   =   ...
在2005里有没有类似的方法呢

[解决办法]
2005里也一样啊
[解决办法]
有啊?你没add引用吧?