Read http stream with C#

  • Thread starter Thread starter Guest
  • Start date Start date
Dan,

You are going to have to save the stream to a temporary file, and then
you can use the Jet provider for Ole Db to access the data in Excel.
 
The URL listed says this is in excel format. I want to read it into a C#
program.
 
I will need to read this file in C#. Still save this to a temporary holding
area then use ole db?

Nicholas Paldino said:
Dan,

You are going to have to save the stream to a temporary file, and then
you can use the Jet provider for Ole Db to access the data in Excel.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Dan said:
I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel.
http://ts-lc.sc8.finance.lycos.com/...=&Param2=&Param3=&FontSize=10&LocaleID=0x0409

Thanks in advance
 
Dan,

Yes, as Ignacio said, you would use the WebClient or the
HttpWebRequest/HttpWebResponse classes to do this, then you would access the
temp file through the Ole Db provider, as it requires a physical file.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Dan said:
I will need to read this file in C#. Still save this to a temporary holding
area then use ole db?

Nicholas Paldino said:
Dan,

You are going to have to save the stream to a temporary file, and
then
you can use the Jet provider for Ole Db to access the data in Excel.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Dan said:
I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel.
http://ts-lc.sc8.finance.lycos.com/...=&Param2=&Param3=&FontSize=10&LocaleID=0x0409

Thanks in advance
 
Thanks - I will go with this stategy.

Nicholas Paldino said:
Dan,

Yes, as Ignacio said, you would use the WebClient or the
HttpWebRequest/HttpWebResponse classes to do this, then you would access the
temp file through the Ole Db provider, as it requires a physical file.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Dan said:
I will need to read this file in C#. Still save this to a temporary holding
area then use ole db?

Nicholas Paldino said:
Dan,

You are going to have to save the stream to a temporary file, and
then
you can use the Jet provider for Ole Db to access the data in Excel.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

I need to read an HTTP stream that is defined as excel format. How can I
access this via ADO.Net? This dataset pastes nicely into excel.
http://ts-lc.sc8.finance.lycos.com/...=&Param2=&Param3=&FontSize=10&LocaleID=0x0409

Thanks in advance
 
Back
Top