Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Saving Excel file to a Temporary location in sharepoint

$
0
0

Hi,

I am using the Oledb option to read the contents of excel file. I am using Sharepoint 2010, VS 2010 and C#. I have a visual webpart, in which I have added a file upload control.

I tried storing the excel in document library and use the Oledb connection, But I got the error in the connection - "Invalid Internet address".

I want to store the excel file temporarily in the server. How to achieve this in SharePoint?

should I create a folder in the layouts OOB folder and try to store the excel there or is there any other temporary folder which can be used in SharePoint to store files? Which is the best way? I am not using OpenXML as the excel files can be of "xls" type as well.

Thanks



Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>