Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create excel file c# 1

Status
Not open for further replies.

tsisher

Programmer
Sep 14, 2004
36
GB
Hi, I am working on c# application and the requirement is when I get data from the database, I have to do few calculations and based on those business logics I have to create a new excel file and save some data on the excel file.



Solution I am after,

1) How to create an excel file within the business logic ( within the code)

2) How to add new data to the file which I have created in the first step.

Please advise.



Thanks and Regards,

ts
 
i really like carlosag's Excel Writer. for creating excel documents. it's all xml based and does not require any Office InterOp assemblies.

I use this to generate new XLS files. you will need to verify if you can open/append data with this library. I assume you can.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top