Thread View: borland.public.csharpbuilder.webservices
1 messages
1 total messages
Started by Andrew
Thu, 08 Dec 2005 00:53
Typed Datasets & Web Services
Author: Andrew
Date: Thu, 08 Dec 2005 00:53
Date: Thu, 08 Dec 2005 00:53
27 lines
2237 bytes
2237 bytes
Hello everyone,
I've been studying C# at home using Visual Studio and was able to setup
a typed dataset in my web service and pass this back to the client.
The client compiled file and with 1 line of code, the dataset is
populated. In the end, I found it very easy.
Now to my problem. My employer (a Delphi house) has got me
investigating C# builder. I have setup a web service with a typed
dataset successfully, not quite as easy as visual studio, but hey
that's nothing in comparison to what happens next. When I refresh the
"Web Reference" and right click on the {typed dataset}.xsd file, I
select "Generate Dataset" and then right click on it again, this time
selecting "Create Dataset Instance". When I try to compile, I get an
error "The namespace '{Namespace name}' already contains a definition
for '{typed dataset}'", if I uncheck the "Generate Dataset" or remove
the {typed dataset}.cs file from the project or rename the dataset in
the {typed dataset}.cs file or rename the namespace in the {typed
dataset}.cs file, it allows me to compile, but as soon as I rebuild the
project, it reverts back to it's original setup, so the next time I try
to build/compile, I get the same error.
Has any one got any ideas as to a work around for this?
Thank you in advance,
Andy
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads