How to get data is the source is HTTP (Very basic quest)

  • Thread starter Thread starter MB
  • Start date Start date
M

MB

This seems like such a basic question, I'm not even sure if this is the
right group.

Our application uses windows forms. A new feature we want to add is to
programatically retrieve data from a query like this:

http://inof.ar3w.com/eggs/3251.xml

The "result set" is an XML file. Is this something that can be used with
a ADO "connector"?

Any particular framework classes I should look at? Examples are good too.

Thanks

Mitch
 
This seems like such a basic question, I'm not even sure if this is the
right group.

Our application uses windows forms. A new feature we want to add is to
programatically retrieve data from a query like this:

http://inof.ar3w.com/eggs/3251.xml

The "result set" is an XML file. Is this something that can be used with
a ADO "connector"?

Any particular framework classes I should look at? Examples are good too.

If you look in the MSDN index for "DataSet class" there's a whopping
list of topics, including XML. Under there, there are subtopics such as
"Loading a DataSet from XML" which I think you'll find helpful.
 
Thank for info on reading the XML.

Any pointers on how to issue the request string. I mean, what part of dotnet
allows me to issue an "http" string and wait for data back. I guess I'm
looking for classes that issue commands like a web browser, except that the
request is not entered by a user, and I want to programatically read the
returned data.

Mitch
 
Mitch said:
Thank for info on reading the XML.

Any pointers on how to issue the request string. I mean, what part of dotnet
allows me to issue an "http" string and wait for data back. I guess I'm
looking for classes that issue commands like a web browser, except that the
request is not entered by a user, and I want to programatically read the
returned data.

Have a look at WebClient, WebRequest and WebResponse, all in the
System.Net namespace.
 
Back
Top