Hi,
I need some help in exporting my datatable to an excel file. I only need some specific columns in my datatable to be exported to the excel. I have successfully completed the task until here following the below link
http://www.codeproject.com/KB/aspnet/ExportClassLibrary.aspx?msg=2567252#xx2567252xxThis works just file. However the excel file is opening with out any formatting so I also need to apply styles to the exported excel file (like bold headers with coloured backgound, text alignment of the columns). I would be really grateful if someone can help me with this.
Many Thanks
Start Free Trial