Red Swan
Red Swan

Reputation: 15545

Generate Excel sheet from datatable

I have the datatable with data. Some cells have null values. I want to create the excel sheet from this datatable in C# + asp.net . I am using VS 2008.

Upvotes: 0

Views: 1356

Answers (2)

Eisbaer
Eisbaer

Reputation: 199

OfficeWriter is a third party API product designed for this task:

http://www.officewriter.com

Upvotes: 2

BenV
BenV

Reputation: 12452

If you don't care about formatting you can just write it out as a tab-delimited file.

Upvotes: 0

Related Questions