摘要: C#、Asp.NET获取当前程序的路径asp.net 获取当前目录学习asp.net上传文件时,发现有三种方法可以获取当前web程序目录物理路径:方法一:string sPath = System.IO.Path.GetDirectoryName(Page.Request.PhysicalPath)方法二:string sPath = System.Web.HttpContext.Current.... 阅读全文
posted @ 2010-02-15 02:44 海军 阅读(665) 评论(0) 推荐(0) 编辑