B
Bryan Dickerson
New (first) web service is working. The following statement
Dim oC As New localhost.Service1
txResults.Text = oC.GetAllContacts(txCICust.Text, txCIType.Text)
.... returns a nice XML string that has 4 <Table>... </Table> specifications
in it. Great. So why do the following statements
Dim oC As New localhost.Service1
Dim oSR As System.IO.StringReader
Dim oXML As New DataSet
oSR = New System.IO.StringReader(oC.GetAllContacts(txCICust.Text,
txCIType.Text))
oXML.ReadXml(oSR)
txResults.Text = "Found " & oXML.Tables.Count & " record(s)."
.... return a message that says "Found 1 record(s)." Is it something to do
with the way I'm reading the XML String? I figure it has to be, but I guess
I'm lost as to why.
Dim oC As New localhost.Service1
txResults.Text = oC.GetAllContacts(txCICust.Text, txCIType.Text)
.... returns a nice XML string that has 4 <Table>... </Table> specifications
in it. Great. So why do the following statements
Dim oC As New localhost.Service1
Dim oSR As System.IO.StringReader
Dim oXML As New DataSet
oSR = New System.IO.StringReader(oC.GetAllContacts(txCICust.Text,
txCIType.Text))
oXML.ReadXml(oSR)
txResults.Text = "Found " & oXML.Tables.Count & " record(s)."
.... return a message that says "Found 1 record(s)." Is it something to do
with the way I'm reading the XML String? I figure it has to be, but I guess
I'm lost as to why.