Hi,
Here are two articles for your reference:
Export GridView to doc/access/csv/Excel/pdf/xml/html/text/print
http://ift.tt/1nC27Gm
How to convert GridView data to Excel, PDF, Word file using C#
http://ift.tt/IyLkhq
If you want to achieve it in a Visual Web Part, here is a similar thread for you to take a look at:
http://ift.tt/1nC29xV
Best Regards
Dennis Guo
TechNet Community Support
No comments:
Post a Comment