Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

Is there an easy way to export data from gridview to MS Word document. I am using MVC 3, C#, razor.

Please help and thanks in advance.
Posted

1 solution

Are you using gridview or Webgrid?
In case you are using WebGrid below link will help you to generate it to word.
In place of excel you should write word.

http://www.codeproject.com/Articles/1040139/WebGrid-in-ASP-NET-MVC
 
Share this answer
 
v2
Comments
Member 4419121 25-Nov-15 3:43am    
I got it now! Thanks Saillesh! cheers!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900