Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
i need to upload excel file rom one location to another location in local pc.with in button click. plz help.
Posted
Comments
BillWoodruff 2-Dec-13 5:12am    
The file you wish to upload is located ... where ?

The destination you wish to upload it to is located ... where ?

You only want to make a copy of the file, or do you want to move it ?
Member 10263519 2-Dec-13 5:22am    
from: D;\ to c:\STL

i want to make copy o the file

Try:
C#
File.Copy(@"D:\MyFile.xls", @"C:\STL\MyFile.xls");
 
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