RDLC 导出Word的时候发现,Word的尺寸和页边距有问题,查了MSDN看到这样一段话 Page Sizing When the report is rendered, the Word page height and width are set by the following RDL properties: paper size height and width, left and right page margins, and the top and bottom page margi…
参考网址:http://www.aiuxian.com/article/p-1970779.html NPOI版本:2.1.3.1 最终效果图: 代码: /// <summary> /// 导出word培训班自然情况表 /// </summary> [HttpPost] public void PrintWord() { int id = Int32.Parse(Request.Form["id"]); var query = from n in db.Natu…