Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hoping for positive response. Thank you :)
Posted
Comments

hi, please refer this link, it will definalty solve your query.

Thanks in advanced.


Upload Excel Spreadsheet File to Server, then Display Record(s) in Gridview[^]
 
Share this answer
 
HttpPostedFile yuklenecekDosya = FileUpload1.PostedFile;
                    if (yuklenecekDosya != null)
                    {
                        FileInfo dosyaBilgisi = new FileInfo(yuklenecekDosya.FileName);
                        string klasor = "NewFolder";
                        string yuklemeYeri = Server.MapPath("~/" + klasor + "/" + dosyaBilgisi.Name);
                        FileUpload1.SaveAs(yuklemeYeri);
                       
                    }

If you want to upload your work to the project ...

I would be happy i f I helped :)
 
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