The HTML format of the grid is available in the path
www.drivehq.com/file/df.aspx/publish/rk.babu/Files/excelExport.txt
I tried to export the grid using the below code.
www.mattberseth.com/downloads/GridViewExportUtil.cs
But, it tooks the header only from Keys without the background color.
...
Go to the complete details ...