Click here to Skip to main content
15,741,581 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Dear Experts,

I am stuck in a project... i am doing any project and i want to create an excel from datatable and save it in a particular folder in server itself....

Please help me to how to create an excel and save it in server itself...


What I have tried:

I have tried many codes. but all are downloaded to client computer.... i need actually to save only in server.
Updated 12-Sep-16 3:03am
[no name] 12-Sep-16 8:28am    
Okay so write some server side code that does this.

1 solution

Google is your friend

How to export excel from dataset or datatable in c#? - Stack Overflow[^]

c# - Export DataTable to Excel File - Stack Overflow[^]

c# - Export data from dataset to excel - Stack Overflow[^]

How to create Excel file in C#[^]

Export Dataset into Excel Sheet in C#[^]

Export DataSet into Excel using C# Excel Interop[^]

How to create an excel - Google Search[^]

Now if you actually attempt to solve your problem and get stuck somewhere with the code. Then feel free to come back and post your code sample and a clear indication of your error and you might get more useful help.

Otherwise we can't read your mind and don't know how you want to implement this exactly.
Share this answer
Maciej Los 12-Sep-16 10:12am    

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