You can see this article, it uses a dataexport component and use 9 solutions to export data to excel with C#, including datagridview, please chack, this article will helpful to you:
http://www.codeproject.com/Articles/164582/8-Solutions-to-Export-Data-to-Excel-for-ASP-NET