Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.
I was having trouble exporting Datagrid to Excel because it contained paging and sorting links. If you try to export with linkbuttons a runtime error will be thrown. I found this cool article which resolves this problem. Check it out Exporting Datagrid to Excel For Datagrid formatting issues view my article: Exporting Datagrid to Excel Posted on Sunday, August 21, 2005 8:11 PM | Back to top


Comments on this post: Exporting GridView to Excel Link Button Problems ( RESOLVED )

# re: Exporting GridView to Excel Link Button Problems ( RESOLVED )
Requesting Gravatar...
That's a great articel, yet if I have a column containing numbers with leading zeros, they get dropped.
Left by Ken Holt on Aug 31, 2005 1:16 PM

# re: Exporting GridView to Excel Link Button Problems ( RESOLVED )
Requesting Gravatar...
You need to check that which format allows you to keep the zeros. Maybe its different in different version of Excel. In my article I am keeping the leading zeros and it works fine.

Left by Azamsharp on Sep 02, 2005 6:48 AM

Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net