Hi Keith,
The DLL file that contains the System.Collections namespace is already referenced in your project. It is there by default. All you have to do is create a reference to each namespace at the top of your code-behind like the following:
using System.Collections;
Once this is done, you can reference the classes in the namespace. The Web Reference in the solution manager is for adding Web services to your project.
>I have some classes defined in a class file in a Web Service project. When I look at the web reference for the service in my Web Forms project, I don't see any reference to the collection classes (Inherits System.Collections.CollectionBase).
>
>Is this by design, and is there a way to force .NET to include the collection classes in the web reference without editing the reference.vb file?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi