J
John Boers
I have an aspx page that reads info from a database and puts in in a
dataset. Then an XML-file is created by a myDataset.WriteXml("myInfo.xml")
statement.
After that the XML-file must be read by an aspx-page that resides on
anaother server. I do that as follows
Dim reader as XmlTextReader = New
XmlTextReader("http://companywebsite.nl/myInfo.xml").
Then I put the info in a dataset:
Dim ds as DataSet = New DataSet()
ds.ReadXml(reader)
And then the processing continues on my local webserver.
I would like to make a page that don't writes the xml to a file but that
sends it directly to the calling client. I fact I want to call an
aspx-pages that creates the xml and sends it direct to the calling page,
like
Dim reader as XmlTextReader = New
XmlTextReader("http://companywebsite.nl/GiveMeMyInfo.aspx")
The trick is i call an aspx-page but want xml back, can anybody tell me how
to do that?
John
dataset. Then an XML-file is created by a myDataset.WriteXml("myInfo.xml")
statement.
After that the XML-file must be read by an aspx-page that resides on
anaother server. I do that as follows
Dim reader as XmlTextReader = New
XmlTextReader("http://companywebsite.nl/myInfo.xml").
Then I put the info in a dataset:
Dim ds as DataSet = New DataSet()
ds.ReadXml(reader)
And then the processing continues on my local webserver.
I would like to make a page that don't writes the xml to a file but that
sends it directly to the calling client. I fact I want to call an
aspx-pages that creates the xml and sends it direct to the calling page,
like
Dim reader as XmlTextReader = New
XmlTextReader("http://companywebsite.nl/GiveMeMyInfo.aspx")
The trick is i call an aspx-page but want xml back, can anybody tell me how
to do that?
John