Valhalla Legends Forums Archive | .NET Platform | Imports System.Web.*

AuthorMessageTime
Grok
When I type
[code]
Imports System.Web.
[/code]
only 3 choices come up.  But in MSDN there are other choices, like System.Web.Mail.  How do I get it to show the other namespaces under System.Web, like Mail?

I am on .NET 1.1, but how do I verify that?
October 20, 2004, 8:35 PM
Myndfyr
Be sure that you have the correct libaries imported.

Without System.Web.dll, I only get the System.Web namespace, no sub-namespaces, although I do get 3 class entries.

Right-click on your project, and choose "Add Reference..." and under the .NET tab, select System.Web.dll.  I get 10 namespaces and a variety of classes there.
October 20, 2004, 11:29 PM
Grok
[quote author=MyndFyre link=topic=9254.msg85439#msg85439 date=1098314965]
Be sure that you have the correct libaries imported.

Without System.Web.dll, I only get the System.Web namespace, no sub-namespaces, although I do get 3 class entries.

Right-click on your project, and choose "Add Reference..." and under the .NET tab, select System.Web.dll.  I get 10 namespaces and a variety of classes there.
[/quote]

Thanks.  I thought I had to add a reference, but I didn't know which one.  Since System.Web.* was already there, System.Web.dll did not pop in my head.
October 21, 2004, 12:33 AM

Search