简体   繁体   English

将Gridview导出到MS Word并添加页码

[英]Export Gridview to MS Word and add page number

I would like to Export a Gridview to Word and add Page number to Exported file. 我想将Gridview导出到Word并将页码添加到导出的文件。 I am using asp.net C# 我正在使用asp.net C#

Thanks in advance 提前致谢

Here is a solution that allows the generation of word docs without a client library: Dynamically generate a MS Word document using HTML & CSS 这是一个无需客户端库即可生成Word文档的解决方案: 使用HTML和CSS动态生成MS Word文档

Granted - this only solves the generation of word docs. 当然-这只能解决Word文档的生成。 You will have to do some research on adding the page numbers. 您将需要对添加页码进行一些研究。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM