0

I cannot find
System.Web.SessionState and System.Web.UI in my Computer, though System.Web is there !
I can't even find any downloads on the net.

Please help ... !
thanks

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Momerath
0

You just need to add the System.Web.dll assembly as a reference. The other namespaces are in the assembly.

0

You just need to add the System.Web.dll assembly as a reference. The other namespaces are in the assembly.

I did that ....

using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

But I still get the error :-

The type or namespace name 'SessionState' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

:|

0

That's not adding a reference. In Visual Studio, right click on the line that says "References" in the solution explorer (usually on the right side of the screen) and add a reference to System.Web (can be found in the first tab).

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.