Object Nothing = System.Reflection.Missing.Value; //模板文件
object strWordTemplate = (object)Server.MapPath("/Word/yixin_word.dot"); //创建一个名为WordApp的组件对象
Word.Application WordApp = new Word.ApplicationClass(); //创建一个名为WordDoc的文档对象
Word.Document WordDoc = WordApp.Documents.Add(ref strWordTemplate, ref Nothing, ref Nothing, ref Nothing);//下面不知怎么写,谢谢
………………………………………………如何在模板表格的第6行下面新增四行4行
object strWordTemplate = (object)Server.MapPath("/Word/yixin_word.dot"); //创建一个名为WordApp的组件对象
Word.Application WordApp = new Word.ApplicationClass(); //创建一个名为WordDoc的文档对象
Word.Document WordDoc = WordApp.Documents.Add(ref strWordTemplate, ref Nothing, ref Nothing, ref Nothing);//下面不知怎么写,谢谢
………………………………………………如何在模板表格的第6行下面新增四行4行
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货