摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Core; using Word = Microsoft.Office.Interop.Word; using Micr... 阅读全文
posted @ 2017-09-18 19:09
雷雨天的雷胖子
阅读(223)
评论(0)
推荐(0)
摘要:
./当前目录/网站主目录../上层目录~/网站虚拟目录如果当前的网站目录为E:\wwwroot 应用程序虚拟目录为E:\wwwroot\company 浏览的页面路径为E:\wwwroot\company\news\show.asp在show.asp页面中使用Server.MapPath("./") 阅读全文
posted @ 2017-09-18 10:48
雷雨天的雷胖子
阅读(199)
评论(0)
推荐(0)
摘要:
一、根据虚拟路径获取文件物理路径: string savePath = Server.MapPath("~/Uploads/RemoteDatum/"); 二、判断文件夹是否存在 if (!System.IO.Directory.Exists(@"E:\Files")) { System.IO.Di 阅读全文
posted @ 2017-09-18 10:45
雷雨天的雷胖子
阅读(3526)
评论(0)
推荐(0)
摘要:
var path = Request.Url.Host + ":" + Request.Url.Port + list[i].AnnexPath; //html保存路径 string savePath = Server.MapPath("~/Upload... 阅读全文
posted @ 2017-09-18 09:50
雷雨天的雷胖子
阅读(707)
评论(0)
推荐(0)

浙公网安备 33010602011771号