怎么读取word文档(包括表格、图片)并显示在aspx页中?如果图片不行 那就表格和文本吧 怎么读取word文档(包括表格、图片)并显示在aspx页中?如果图片不行 那就表格和文本吧 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 直接设置ContentType为Word,前提是你的客户端要装了Word protected void Page_Load(object sender, EventArgs e) { Response.ContentType = "application/msword"; Response.WriteFile(Server.MapPath("aa.doc")); } 可以用asp调用word的导出功能,把word文档在线导成html然后进行查看或使用asp.net 2.0来实现,只要引入word组件就可以方便的操作word文档 public void Page_Load(object sender, EventArgs e) { Response.ContentType = "application/msword"; Response.WriteFile(Server.MapPath("aa.doc")); } 引用不成功 NPOI EXCEL 指定列只读不允许修改 创建类的一个问题 Java接口开发 在页面上动态显示时间是怎么做的(.net)在线等 WebResponse.GetResponse() .NET 3.5下尝试自动重定向的次数太多?.NET 4.0完全正常。为什么? 另一个进程正在使用此文件,因此该进程无法访问此文件 怎么获取string类型部分字符? 正则表达式怎么用啊? 请问如何将字符串 abcdefg 格式化为 ab***fg c#怎么实现随机播放音乐 串口问题 求救
{
Response.ContentType = "application/msword";
Response.WriteFile(Server.MapPath("aa.doc"));
}
{
Response.ContentType = "application/msword";
Response.WriteFile(Server.MapPath("aa.doc"));
}