C# and VB

  • Thread starter Thread starter Krish
  • Start date Start date
K

Krish

Hi,

I already have an application writtern in VB6.0 which connects to a
remote database and populates the data. In order to speed up the
retrieval, I wrote a C# webservice which connects to the remote
database and retrieves the data. This seems to be quiet faster than the
vb retrieval.

But I am not able to set the xml generated by C# using the getxml
method of dataset, returned to the VB call as source for my ADO
recordset.

Is there any specific format of XML which ADO recordset will accept..

Thanks
Google
 
Krish,

If you are talking about VB use than the right name. You are in my idea
talking about a VB version from 8 years ago.

There is no significant difference in speed or whatever in the good used
current versions of VB and C#. It is only a kind of personal preference.

If you want to use XML as a dataset, than it has to be a dataset. A dataset
can be serialized to XML, but therefore is not every XML file a dataset.

There is an overloaded use of the OleDB dataadapter that will make from a
recordset a dataset.

http://msdn.microsoft.com/library/d.../html/cpconFillingDataSetWithADORecordset.asp

I don't know one visa versa.

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top