This class can generate spreadsheet files in the .xls XML format used by the latest versions of Microsoft Excel.
The class can generate spreadsheet files writing a whole rows at once, or individual row cells one at a time.
Find the class in the below link click Here To get the class