Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to fetch excel sheet data which is store in another server to our asp.net web application
Posted
Comments
What have you tried and where is the problem?
Yagnik_Vishal 11-Dec-13 7:47am    
I am trying to fetch excel sheet data which is stored in another server URL like "http://www.Test.com/Test/Book1.xls" and store in my local asp.net web application folder without downloading . .. is is possible????
Please check my answer.

1 solution

The below code is one example for downloading a gif file. Similarly, try for xls.
C#
System.Net.WebClient client = new WebClient();

client.DownloadFile(new Uri("http://i.cdn.turner.com/cnn/.e/img/3.0/global/header/hdr-main.gif"), "D:\\Image.gif");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900