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
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
You just need to add the System.Web.dll assembly as a reference. The other namespaces are in the assembly.
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?)
:|
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).
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.