Click here to Skip to main content
15,939,960 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my project i want to upload an excel sheet into a shared folder.pls help how to solve this.
Posted
Comments
Harshad Kathiriya 4-Sep-13 1:59am    
need more description, what actually u want ?
Soumya 2 4-Sep-13 2:03am    
Basically i want to upload an excel file through my web application(ASP.NET).Instead of saving the file in
the data base.I want to save it in shared folder.
ridoy 4-Sep-13 2:18am    
so you have no language specification? C# or vb?
Soumya 2 4-Sep-13 2:28am    
am using C#
Thanks7872 4-Sep-13 2:21am    
Why you want to upload excel file,i mean purpose? Try to elaborate the exact process you are going to follow. That will be better.

Hello

Try to Below way

- First of all, create one temp folder in your application and upload your file into Temp folder
- Then using the temp folder move your file to shared folder.

I think it's halpful to u. :)

Thanks
 
Share this answer
 
Comments
Soumya 2 4-Sep-13 6:38am    
How to move the file from temp folder to shared folder ?
Harshad Kathiriya 4-Sep-13 7:01am    
use the FileStream.
See the below link. Its explains everything about both approach,storing in DB as well as File System. Modify it accordingly.

Storing Uploaded Files in a Database or in the File System with ASP.NET [^]

This might also be useful

File Upload with ASP.NET[^]

Regards..:)
 
Share this answer
 
v2

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