ASP.NET Samples
DataSet to Excel Workbook with Formats and Formulas
This sample shows how to create a new workbook, insert data from multiple DataTables, merge this data with formatting and formulas from a template workbook, and stream it to Microsoft Excel.