473,508 Members | 2,152 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

implement System.Collections.Specialized.NameValueCollection .Add(System.String)

My business-layer class has a method that returns a
System.Collections.Specialized.NameValueCollection

I wrapped this business-layer class in a Web Service.

In an ASP.NET project, when I attempt to add a Web Reference to this Web
Service, I receive the error :

You must implement the Add(System.String) method on
System.Collections.Specialized.NameValueCollection because it inherits from
ICollection.

Does anyone know how I would go about doing this ?
Nov 23 '05 #1
0 1709

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1560
by: Yoavo | last post by:
I want to add a string to a file after a specific string for example "abcde", Which means I need to open the file find the string "abcde" and then add my string just after. How do I do it? ...
1
4855
by: Mark Miller | last post by:
I just recently started getting the above error on a page I am posting MULTIPART/FORM-DATA. We have SoftArtisans FileUp component and Filter installed on the server in question and up until a day...
8
2946
by: Sandra Setz | last post by:
Hi, Can someone explain to me why it isn't possible to add strings after the rtf property of a RichEditBox? For example, I am trying to create an SQL string as follows: Dim sSQL As String =...
2
4598
by: Grigs | last post by:
I have a C# Web Service that some of the methods (ones that return integers) work and some do not (the ones that return a DataView. Here is some code in the WebService that is giving me the...
0
2257
by: fero | last post by:
Hello, I have the following problem. I have a page which works fine. But sometimes I see the following error in error log: -- Message: System.Web.HttpUnhandledException: Exception of type...
9
2178
by: Arpan | last post by:
If I am not wrong, System.IO is one of the seven namespaces that get imported in all ASP.NET page automatically but in the following code: <%@ Import Namespace="System.IO" %> <script...
2
1510
by: Marcin | last post by:
Hello, this is my first post here.. I'm writing app where I need to send TextBox content as attachment. typical attachment construction is like: mail = new MailMessage() ...
4
7984
by: Mo | last post by:
Hi, I am writing a console application to send a key sequence to an old clunky application on a regular interval using the windows scheduler. I can get it to work if it is a windows form...
4
2060
by: Jahoo | last post by:
Hello I'm wondering howto make such thing: i would like to add specific string into some configuration files. but not in the end of file (it's obviously easy) but somewhere in the middle for...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7385
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.