Export DataSet to Excel file in C#, using EasyXLS Excel library! The DataSet can contain data from a SQL database, GridView, DataGridView, DataGrid or other. http://www.easyxls.com/manual/tutorials/csharp/export-dataset-to-excel.html