Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

Simple webservice returning a dataset.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jensen bredal - 09 May 2005 23:24 GMT
I have a simple webservice that have a webmethod that returns a dataset.
How can i use the returned dataset.
So far i get an exception.

Thanks

JB
Chad Z. Hower aka Kudzu - 10 May 2005 09:17 GMT
"jensen bredal" <jensen.bredal@yahoo.dk> wrote in news:O$KglXOVFHA.928
@TK2MSFTNGP15.phx.gbl:
> I have a simple webservice that have a webmethod that returns a dataset.
> How can i use the returned dataset.

You use the dataset just like in normal code.

> So far i get an exception.

Please post a few lines of code that you are using.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
     "Programming is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
jensen bredal - 10 May 2005 09:44 GMT
> Blog: http://blogs.atozed.com/kudzu

well thanks, i have realised that the i was using a reference to a datatable
on the web service in my consumming app. And that caused the exception
message:

DataTable already belongs to an other dataset.

I corrected the problem and now i look more happy in my face.

Thank you anyway.

JB

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.