Hello,
I am using the NPOI 2.1 version. I am trying to open a XLS file from a URL, but I am getting a NotSupportedException. Here's my code:
HSSFWorkbook wb;
System.Net.HttpWebRequest request = (HttpWebRequest)WebRequest.Create(ssFileName);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
wb = new HSSFWorkbook(response.GetResponseStream());
Is there any other way to implement this?
Thank you.
André
I am using the NPOI 2.1 version. I am trying to open a XLS file from a URL, but I am getting a NotSupportedException. Here's my code:
HSSFWorkbook wb;
System.Net.HttpWebRequest request = (HttpWebRequest)WebRequest.Create(ssFileName);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
wb = new HSSFWorkbook(response.GetResponseStream());
Is there any other way to implement this?
Thank you.
André