How to export data from ASP.NET to both Excel and OpenOffice.
More precisely you'll see
- how easy is to export data from a gridview to a single sheet Excel workbook
- how you can export data from asp.net to multisheet Excel/OpenOffice workbooks
Note: Colors' choice was not the main objective of this demo.
| Category Name | Product Name | Product Sales |
| Meat/Poultry | Alice Mutton | 16.580,85 |
| Condiments | Aniseed Syrup | 1.724,00 |
| Seafood | Boston Crab Meat | 9.796,33 |
| Dairy Products | Camembert Pierrot | 20.652,28 |
| Seafood | Carnarvon Tigers | 15.950,00 |
| Beverages | Chai | 4.887,00 |
| Beverages | Chang | 7.038,55 |
| Beverages | Chartreuse verte | 4.475,70 |
| Condiments | Chef Anton's Cajun Seasoning | 5.214,88 |
| Condiments | Chef Anton's Gumbo Mix | 373,63 |
| Confections | Chocolade | 1.282,01 |
| Beverages | Côte de Blaye | 46.563,09 |
| Seafood | Escargots de Bourgogne | 2.076,28 |
| Grains/Cereals | Filo Mix | 2.068,15 |
| Dairy Products | Flotemysost | 9.642,76 |
|
1)
Select either Excel XML or XLSX output format:
2)
Then push a button to run the export to Excel/OpenOffice
Home