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 / August 2005

Tip: Looking for answers? Try searching our database.

Can we wire .Net 2.0 Datatable across webservices?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Atul Bahl - 29 Jul 2005 17:15 GMT
I am having troubles using .Net 2.0 Datatable in webservices.

Any examples to look at.

Thanks
Hammad Rajjoub - 01 Aug 2005 13:10 GMT
I have not tried that out my self. What I am sure about is that in ADO.NET
2.0 DataTable has methods like ReadXML() and WriteXML() which makes it XML
Serializable much like DataSets.

Can you specify what errors are u getting ?

regards,]
Hammad Rajjoub
Microsoft MVP,
Windows Server Systems: XML Web Services
Chairman UG Relations Comm.,
Member Speakers Bureau,
INETA MEA.(http://mea.ineta.org)
Blog: (http://dotnetwizards.blogspot.com)

> I am having troubles using .Net 2.0 Datatable in webservices.
>
> Any examples to look at.
>
> Thanks
Sahil Malik [MVP] - 01 Aug 2005 16:27 GMT
Yes

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
-------------------------------------------------------------------------------------------

>I am having troubles using .Net 2.0 Datatable in webservices.
>
> Any examples to look at.
>
> Thanks
Atul Bahl - 01 Aug 2005 20:01 GMT
Since Datatable is implementing ISerializable interface, I am assuming it
should automatically return XML.

I have also used RemotingFormat = SerializationFormat.Xml
but still in webservices I am receiving error.  

Like Hammad mentioned, do we have to write the xml to a file and stream it
back. I hate to do file IO on each requrest.

Do you guys have any code snippets for using datatables for webservices in
.Net 2.0

Thanks in advance.

Atul

> Yes
>
[quoted text clipped - 8 lines]
> >
> > Thanks

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.