473,473 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Load XML from ADO Recordset

Mac
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load
to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac
Nov 18 '05 #1
7 2730
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you are getting into sXML
to analyze why the XML document doesn't like it. I assume that the XML is
well-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load
to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac


Nov 18 '05 #2
Hi Ken

Thanks for your reply

I have attached examples of the code and xml that is
produced.

Any help would be really appreciated.

The XML is produced by a VB6 dll on a remote server using
the following code:

Public Function ReturnData() as String
Dim oCnn As New ADODB.Connection
Dim oStream As New ADODB.Stream
Dim oRS As New ADODB.Recordset

oCnn.ConnectionString = SQL_CONNECTION_STRING
oCnn.Open

oRS.CursorLocation = adUseClient
Set oRS = oCnn.Execute("SELECT .....")

'Save recordset as XML
oRS.Save oStream, adPersistXML

ReturnData = oStream.ReadText

Set oStream = Nothing
Set oRS = Nothing
Set oCnn = Nothing
End Function

The XML string is as follows

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-
00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly'
rs:CommandTimeout='30'>
<s:AttributeType name='SUN_REGION'
rs:number='1'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='4'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='SUN_DB'
rs:number='2'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='3'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='AMOUNT'
rs:number='3' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number'
rs:dbtype='numeric' dt:maxLength='19'
rs:scale='3' rs:precision='38'
rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='ACCNT_CODE'
rs:number='4' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A0'
rs:number='5' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A1'
rs:number='6' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A2'
rs:number='7' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A3'
rs:number='8' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A4'
rs:number='9' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A5'
rs:number='10' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A6'
rs:number='11' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A7'
rs:number='12' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A8'
rs:number='13' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A9'
rs:number='14' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_T0'
rs:number='15' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SUN_REGION='EMEA' SUN_DB='ZZZ'
AMOUNT='1155.000'
ACCNT_CODE='1050 '
ANAL_A0=' '
ANAL_A1=' '
ANAL_A2=' ' ANAL_A3='BS140 '
ANAL_A4=' '
ANAL_A5=' ' ANAL_A6=' '
ANAL_A7=' '
ANAL_A8=' ' ANAL_A9=' '
/>
</rs:data>
</xml>

In the ASP.Net app, I have registered the web service and
in the function call it as follows

Dim sXML as String
Dim xmlDoc As XmlDocument
Dim oWeb As New SoapEMEA.SunLink
sXML = oWeb.ReturnData()
'Load XML string into XML Doc
xmlDoc.LoadXml(sXML)

Now I could be really stupid (my girlfriend thinks so)
but I have tested to see if the xmlDoc has any data by
looking at xmlDoc.value.

As far as I can tell, it hasn't been loaded.

Help?

Regards

Ross
-----Original Message-----
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you are getting into sXMLto analyze why the XML document doesn't like it. I assume that the XML iswell-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in messagenews:05****************************@phx.gbl...
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac


.

Nov 18 '05 #3
Hi Mac,

I was able to emit the XML you provided via a Web service (as a string),
capture it into an XmlDocument and confirm that the XML is in there. I wrote
it to the Output/Debug window.

Here's the code I used:

Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim strXML As String
Dim xmlws As New xmlsrver
strXML = xmlws.ServeXML
Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(strXML)
Debug.Write(xmlDoc.OuterXml)
End Sub
<an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi Ken

Thanks for your reply

I have attached examples of the code and xml that is
produced.

Any help would be really appreciated.

The XML is produced by a VB6 dll on a remote server using
the following code:

Public Function ReturnData() as String
Dim oCnn As New ADODB.Connection
Dim oStream As New ADODB.Stream
Dim oRS As New ADODB.Recordset

oCnn.ConnectionString = SQL_CONNECTION_STRING
oCnn.Open

oRS.CursorLocation = adUseClient
Set oRS = oCnn.Execute("SELECT .....")

'Save recordset as XML
oRS.Save oStream, adPersistXML

ReturnData = oStream.ReadText

Set oStream = Nothing
Set oRS = Nothing
Set oCnn = Nothing
End Function

The XML string is as follows

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-
00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly'
rs:CommandTimeout='30'>
<s:AttributeType name='SUN_REGION'
rs:number='1'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='4'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='SUN_DB'
rs:number='2'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='3'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='AMOUNT'
rs:number='3' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number'
rs:dbtype='numeric' dt:maxLength='19'
rs:scale='3' rs:precision='38'
rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='ACCNT_CODE'
rs:number='4' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A0'
rs:number='5' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A1'
rs:number='6' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A2'
rs:number='7' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A3'
rs:number='8' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A4'
rs:number='9' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A5'
rs:number='10' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A6'
rs:number='11' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A7'
rs:number='12' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A8'
rs:number='13' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A9'
rs:number='14' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_T0'
rs:number='15' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SUN_REGION='EMEA' SUN_DB='ZZZ'
AMOUNT='1155.000'
ACCNT_CODE='1050 '
ANAL_A0=' '
ANAL_A1=' '
ANAL_A2=' ' ANAL_A3='BS140 '
ANAL_A4=' '
ANAL_A5=' ' ANAL_A6=' '
ANAL_A7=' '
ANAL_A8=' ' ANAL_A9=' '
/>
</rs:data>
</xml>

In the ASP.Net app, I have registered the web service and
in the function call it as follows

Dim sXML as String
Dim xmlDoc As XmlDocument
Dim oWeb As New SoapEMEA.SunLink
sXML = oWeb.ReturnData()
'Load XML string into XML Doc
xmlDoc.LoadXml(sXML)

Now I could be really stupid (my girlfriend thinks so)
but I have tested to see if the xmlDoc has any data by
looking at xmlDoc.value.

As far as I can tell, it hasn't been loaded.

Help?

Regards

Ross
-----Original Message-----
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you

are getting into sXML
to analyze why the XML document doesn't like it. I

assume that the XML is
well-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in

message
news:05****************************@phx.gbl...
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac


.


Nov 18 '05 #4
Also, I tried it with and without the XML prologue and it worked.

<?xml version="1.0" encoding="utf-8" ?>

<an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi Ken

Thanks for your reply

I have attached examples of the code and xml that is
produced.

Any help would be really appreciated.

The XML is produced by a VB6 dll on a remote server using
the following code:

Public Function ReturnData() as String
Dim oCnn As New ADODB.Connection
Dim oStream As New ADODB.Stream
Dim oRS As New ADODB.Recordset

oCnn.ConnectionString = SQL_CONNECTION_STRING
oCnn.Open

oRS.CursorLocation = adUseClient
Set oRS = oCnn.Execute("SELECT .....")

'Save recordset as XML
oRS.Save oStream, adPersistXML

ReturnData = oStream.ReadText

Set oStream = Nothing
Set oRS = Nothing
Set oCnn = Nothing
End Function

The XML string is as follows

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-
00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly'
rs:CommandTimeout='30'>
<s:AttributeType name='SUN_REGION'
rs:number='1'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='4'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='SUN_DB'
rs:number='2'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='3'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='AMOUNT'
rs:number='3' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number'
rs:dbtype='numeric' dt:maxLength='19'
rs:scale='3' rs:precision='38'
rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='ACCNT_CODE'
rs:number='4' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A0'
rs:number='5' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A1'
rs:number='6' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A2'
rs:number='7' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A3'
rs:number='8' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A4'
rs:number='9' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A5'
rs:number='10' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A6'
rs:number='11' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A7'
rs:number='12' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A8'
rs:number='13' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A9'
rs:number='14' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_T0'
rs:number='15' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SUN_REGION='EMEA' SUN_DB='ZZZ'
AMOUNT='1155.000'
ACCNT_CODE='1050 '
ANAL_A0=' '
ANAL_A1=' '
ANAL_A2=' ' ANAL_A3='BS140 '
ANAL_A4=' '
ANAL_A5=' ' ANAL_A6=' '
ANAL_A7=' '
ANAL_A8=' ' ANAL_A9=' '
/>
</rs:data>
</xml>

In the ASP.Net app, I have registered the web service and
in the function call it as follows

Dim sXML as String
Dim xmlDoc As XmlDocument
Dim oWeb As New SoapEMEA.SunLink
sXML = oWeb.ReturnData()
'Load XML string into XML Doc
xmlDoc.LoadXml(sXML)

Now I could be really stupid (my girlfriend thinks so)
but I have tested to see if the xmlDoc has any data by
looking at xmlDoc.value.

As far as I can tell, it hasn't been loaded.

Help?

Regards

Ross
-----Original Message-----
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you

are getting into sXML
to analyze why the XML document doesn't like it. I

assume that the XML is
well-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in

message
news:05****************************@phx.gbl...
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac


.


Nov 18 '05 #5
Hi Mac,

I was able to emit the XML you provided via a Web service (as a string),
capture it into an XmlDocument and confirm that the XML is in there. I wrote
it to the Output/Debug window.

Here's the code I used:

Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim strXML As String
Dim xmlws As New xmlsrver
strXML = xmlws.ServeXML
Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(strXML)
Debug.Write(xmlDoc.OuterXml)
End Sub
<an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi Ken

Thanks for your reply

I have attached examples of the code and xml that is
produced.

Any help would be really appreciated.

The XML is produced by a VB6 dll on a remote server using
the following code:

Public Function ReturnData() as String
Dim oCnn As New ADODB.Connection
Dim oStream As New ADODB.Stream
Dim oRS As New ADODB.Recordset

oCnn.ConnectionString = SQL_CONNECTION_STRING
oCnn.Open

oRS.CursorLocation = adUseClient
Set oRS = oCnn.Execute("SELECT .....")

'Save recordset as XML
oRS.Save oStream, adPersistXML

ReturnData = oStream.ReadText

Set oStream = Nothing
Set oRS = Nothing
Set oCnn = Nothing
End Function

The XML string is as follows

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-
00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly'
rs:CommandTimeout='30'>
<s:AttributeType name='SUN_REGION'
rs:number='1'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='4'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='SUN_DB'
rs:number='2'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='3'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='AMOUNT'
rs:number='3' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number'
rs:dbtype='numeric' dt:maxLength='19'
rs:scale='3' rs:precision='38'
rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='ACCNT_CODE'
rs:number='4' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A0'
rs:number='5' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A1'
rs:number='6' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A2'
rs:number='7' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A3'
rs:number='8' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A4'
rs:number='9' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A5'
rs:number='10' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A6'
rs:number='11' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A7'
rs:number='12' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A8'
rs:number='13' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A9'
rs:number='14' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_T0'
rs:number='15' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SUN_REGION='EMEA' SUN_DB='ZZZ'
AMOUNT='1155.000'
ACCNT_CODE='1050 '
ANAL_A0=' '
ANAL_A1=' '
ANAL_A2=' ' ANAL_A3='BS140 '
ANAL_A4=' '
ANAL_A5=' ' ANAL_A6=' '
ANAL_A7=' '
ANAL_A8=' ' ANAL_A9=' '
/>
</rs:data>
</xml>

In the ASP.Net app, I have registered the web service and
in the function call it as follows

Dim sXML as String
Dim xmlDoc As XmlDocument
Dim oWeb As New SoapEMEA.SunLink
sXML = oWeb.ReturnData()
'Load XML string into XML Doc
xmlDoc.LoadXml(sXML)

Now I could be really stupid (my girlfriend thinks so)
but I have tested to see if the xmlDoc has any data by
looking at xmlDoc.value.

As far as I can tell, it hasn't been loaded.

Help?

Regards

Ross
-----Original Message-----
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you

are getting into sXML
to analyze why the XML document doesn't like it. I

assume that the XML is
well-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in

message
news:05****************************@phx.gbl...
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac


.


Nov 18 '05 #6
Also, I tried it with and without the XML prologue and it worked.

<?xml version="1.0" encoding="utf-8" ?>

<an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi Ken

Thanks for your reply

I have attached examples of the code and xml that is
produced.

Any help would be really appreciated.

The XML is produced by a VB6 dll on a remote server using
the following code:

Public Function ReturnData() as String
Dim oCnn As New ADODB.Connection
Dim oStream As New ADODB.Stream
Dim oRS As New ADODB.Recordset

oCnn.ConnectionString = SQL_CONNECTION_STRING
oCnn.Open

oRS.CursorLocation = adUseClient
Set oRS = oCnn.Execute("SELECT .....")

'Save recordset as XML
oRS.Save oStream, adPersistXML

ReturnData = oStream.ReadText

Set oStream = Nothing
Set oRS = Nothing
Set oCnn = Nothing
End Function

The XML string is as follows

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-
00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly'
rs:CommandTimeout='30'>
<s:AttributeType name='SUN_REGION'
rs:number='1'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='4'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='SUN_DB'
rs:number='2'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='3'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='AMOUNT'
rs:number='3' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number'
rs:dbtype='numeric' dt:maxLength='19'
rs:scale='3' rs:precision='38'
rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='ACCNT_CODE'
rs:number='4' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A0'
rs:number='5' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A1'
rs:number='6' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A2'
rs:number='7' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A3'
rs:number='8' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A4'
rs:number='9' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A5'
rs:number='10' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A6'
rs:number='11' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A7'
rs:number='12' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A8'
rs:number='13' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A9'
rs:number='14' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_T0'
rs:number='15' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SUN_REGION='EMEA' SUN_DB='ZZZ'
AMOUNT='1155.000'
ACCNT_CODE='1050 '
ANAL_A0=' '
ANAL_A1=' '
ANAL_A2=' ' ANAL_A3='BS140 '
ANAL_A4=' '
ANAL_A5=' ' ANAL_A6=' '
ANAL_A7=' '
ANAL_A8=' ' ANAL_A9=' '
/>
</rs:data>
</xml>

In the ASP.Net app, I have registered the web service and
in the function call it as follows

Dim sXML as String
Dim xmlDoc As XmlDocument
Dim oWeb As New SoapEMEA.SunLink
sXML = oWeb.ReturnData()
'Load XML string into XML Doc
xmlDoc.LoadXml(sXML)

Now I could be really stupid (my girlfriend thinks so)
but I have tested to see if the xmlDoc has any data by
looking at xmlDoc.value.

As far as I can tell, it hasn't been loaded.

Help?

Regards

Ross
-----Original Message-----
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you

are getting into sXML
to analyze why the XML document doesn't like it. I

assume that the XML is
well-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in

message
news:05****************************@phx.gbl...
Hi all

I have a asp.net application which calls a web service
via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a
stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the
web service without any problems but when I try and load to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of
hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac


.


Nov 18 '05 #7
Mac

Hi Ken

Thanks for your reply. If anything has come out of this
is that I now know how to check an XML document in .net.

Thanks for your time, it is appreciated

Mac
-----Original Message-----
Hi Mac,

I was able to emit the XML you provided via a Web service (as a string),capture it into an XmlDocument and confirm that the XML is in there. I wroteit to the Output/Debug window.

Here's the code I used:

Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim strXML As String
Dim xmlws As New xmlsrver
strXML = xmlws.ServeXML
Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(strXML)
Debug.Write(xmlDoc.OuterXml)
End Sub
<an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi Ken

Thanks for your reply

I have attached examples of the code and xml that is
produced.

Any help would be really appreciated.

The XML is produced by a VB6 dll on a remote server using the following code:

Public Function ReturnData() as String
Dim oCnn As New ADODB.Connection
Dim oStream As New ADODB.Stream
Dim oRS As New ADODB.Recordset

oCnn.ConnectionString = SQL_CONNECTION_STRING
oCnn.Open

oRS.CursorLocation = adUseClient
Set oRS = oCnn.Execute("SELECT .....")

'Save recordset as XML
oRS.Save oStream, adPersistXML

ReturnData = oStream.ReadText

Set oStream = Nothing
Set oRS = Nothing
Set oCnn = Nothing
End Function

The XML string is as follows

<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3- 00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-
00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly'
rs:CommandTimeout='30'>
<s:AttributeType name='SUN_REGION'
rs:number='1'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='4'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='SUN_DB'
rs:number='2'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='3'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='AMOUNT'
rs:number='3' rs:nullable='true'
rs:writeunknown='true'>
<s:datatype dt:type='number'
rs:dbtype='numeric' dt:maxLength='19'
rs:scale='3' rs:precision='38'
rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='ACCNT_CODE'
rs:number='4' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A0'
rs:number='5' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A1'
rs:number='6' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A2'
rs:number='7' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A3'
rs:number='8' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A4'
rs:number='9' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A5'
rs:number='10' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A6'
rs:number='11' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A7'
rs:number='12' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A8'
rs:number='13' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_A9'
rs:number='14' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='ANAL_T0'
rs:number='15' rs:writeunknown='true'>
<s:datatype dt:type='string'
rs:dbtype='str' dt:maxLength='15'
rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row SUN_REGION='EMEA' SUN_DB='ZZZ'
AMOUNT='1155.000'
ACCNT_CODE='1050 '
ANAL_A0=' '
ANAL_A1=' '
ANAL_A2=' ' ANAL_A3='BS140 '
ANAL_A4=' '
ANAL_A5=' ' ANAL_A6=' '
ANAL_A7=' '
ANAL_A8=' ' ANAL_A9=' '
/>
</rs:data>
</xml>

In the ASP.Net app, I have registered the web service and in the function call it as follows

Dim sXML as String
Dim xmlDoc As XmlDocument
Dim oWeb As New SoapEMEA.SunLink
sXML = oWeb.ReturnData()
'Load XML string into XML Doc
xmlDoc.LoadXml(sXML)

Now I could be really stupid (my girlfriend thinks so)
but I have tested to see if the xmlDoc has any data by
looking at xmlDoc.value.

As far as I can tell, it hasn't been loaded.

Help?

Regards

Ross
-----Original Message-----
Hi Mac,

Could you give us a little more detail or code?

It would help to have a sample of the string that you

are getting into sXML
to analyze why the XML document doesn't like it. I

assume that the XML is
well-formed.

How did you test that xmlDoc was empty?

Thanks,

Ken

"Mac" <an*******@discussions.microsoft.com> wrote in

message
news:05****************************@phx.gbl.. .
Hi all

I have a asp.net application which calls a web service via a wdsl file which retrieves an XML String.

The XML String is from a adodb recordset saved as via a stream.

Dim oRS as New ADODB.Recordset
Dim oStream as New ADODB.Stream
Set oRS = oCnn.Execute(sSQL)
'Save recordset as XML
oRS.Save oStream, adPersistXML
sXML = oStream.ReadText

In the ASP.Net application I retrieve the sXML via the web service without any problems but when I try and

load
to an XML document, nothing is loaded.

Dim xmlDoc As New XmlDocument
xmlDoc.LoadXml(sXML)

The xmlDoc remains empty.

I have been scratching my head on this for a couple of hours and I am sure it's probably simple but would
appreciate any help.

Regards

mac

.


.

Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tom | last post by:
I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use...
9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
5
by: ZaphodBBB | last post by:
I have a form that is used just to review previously saved records.(1 record at a time). It also allows just a couple of fields to be updatable (in a given record)and resaved. I load all the...
6
by: hturk | last post by:
How can I load files on a file server that have many different types of files into a table. The files include: Word, Excel Powerpoint, Outlook emails, bmp, gif, tif, jpg, c++, etc. I would like to...
10
by: sara | last post by:
Hi - I have been struggling with solution ideas for this now for almost 2 weeks, and have not been able to figure this out. I have a user who creates a Purchase Order (tblPOData). In some...
2
by: john0600 | last post by:
I'm writing a web service in .NET to work with Delphi clients. Delphi uses ADO so I want to convert the Dataset to a Recordset and vice- versa. It appears a Web Service cannot publish a web method...
3
by: Codebug | last post by:
Trying to load a query in Access 2003 as a recordset, returns error 3061, too few parameters, Expected 1. Dim StrSQL As String Dim rs As DAO.Recordset Dim db As DAO.Database ...
0
by: MBD | last post by:
Hi, I have been loading a 500,000 recordset Table in DB2 using (LOAD...REPLACE INTO). It took me about 30 seconds on our robust server. So, When using (LOAD...INSERT INTO) it will take the same...
1
by: Tomino | last post by:
Hi all, I have a sticky question, it's killing me for weeks so i hope to find the answer here. I have a query to filter records from a table. From these results I want to edit the records with...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.