asp.net 中导出html并保留图片!有高人吗?? 用c# html导出word 不难,但是怎么把图片一块真正的也导入进去呢?有没有高人实现过!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 把HTML中的图片下载到本地,然后插入到word下载图片使用正则@"(?i)<img ([^>]*?)src=([""']{0,1})([^>]+?)\2([^>]*?)>"获取操作word可参考http://zhidao.baidu.com/question/53407792.html?fr=ala0 Visual Studio Tools for Office 实现//插入图片wordDoc.Tables[1].Cell(1, 5).Range.Select();wordApp.Selection.InlineShapes.AddPicture(ViewState["UserPhoto"].ToString(), ref missing, ref missing, ref missing); mydoc.ActiveWindow.ActivePane.Selection.InlineShapes.AddPicture("C:\\test.jpg", ref oMissing, ref oMissing, ref oMissing);http://blog.csdn.net/shirly_siyu/archive/2006/08/25/1116331.aspx html标签可以自定义属性吗? .net改写成静态页面 紧急求助:SQL Server2000服务器突然连接不上了 NHibernate的问题 javascript, js,jscript有什么区别? UpdateProgress能反应进度吗 用C#怎么实现vb中的collection对象的功能? 如何在ASP.NET页里,输入大量数据,而又不要经常提交页面的方法!!!来者有分! 请问如何编写用于校验当前页的随机安全码自定义控件? ASP.NET排版问题? 分析器错误信息: 访问被拒绝:“**程序集”。 用treewiew + textbox 做一个控件
下载图片使用正则@"(?i)<img ([^>]*?)src=([""']{0,1})([^>]+?)\2([^>]*?)>"获取
操作word可参考http://zhidao.baidu.com/question/53407792.html?fr=ala0
wordDoc.Tables[1].Cell(1, 5).Range.Select();
wordApp.Selection.InlineShapes.AddPicture(ViewState["UserPhoto"].ToString(), ref missing, ref missing, ref missing);
http://blog.csdn.net/shirly_siyu/archive/2006/08/25/1116331.aspx