Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2006, 01:20 AM
Registered User
 
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Conversion of recordset to a dataset

Hi, I need to send a recordset to a webservice, where i have to convert it to dataset and process. For that I thought of converting this recordset to xml and sent it to the webservice. THere in teh webservice again convert the incoming xml to dataset. Can anyone please help me in this. Please also tell me how to convert a recordset to a dataset

 
Old November 5th, 2006, 04:33 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

Not enough information. Does the recordset and the dataset reside on the same server? What are the file types of the recordset and dataset? If you have noticed the ASP.NET databases Using VB.NET the Northwind DB (SQL) is used as a recordset and a dataset, so it is not clear what you are trying to accomplish, especially to "process" the file.
 
Old December 19th, 2006, 05:00 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Kishore,
  For converting Recordset To XML, Use 'FOR XML AUTO' clause in SQL query.
and Again For reading XML File, use DataSet.ReadXML() function.
  I think, For transferring data to web service, you should use XML format.


Thanks & Regards
-Sandip





Similar Threads
Thread Thread Starter Forum Replies Last Post
Clone DAO Recordset into ADO Recordset kamrans74 VB How-To 0 March 6th, 2007 11:57 AM
Converting a untyped dataset to a typed dataset daphnean Visual Studio 2005 0 July 13th, 2006 01:16 AM
ADODB.Recordset (0x800A0CB3)Current Recordset does tks_muthu Classic ASP Databases 0 June 16th, 2005 07:22 AM
differnce between dataset and recordset sachin sharma ASP.NET 1.0 and 1.1 Basics 4 September 10th, 2004 09:38 AM
Convert ADO recordset to DAO recordset andrew_taft Access 1 May 5th, 2004 02:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.