asp.net .ashx,cs文件使用server.mappath解决方法

asp.net .ashx文件使用server.mappath解决方法: System.Web.HttpContext.Current.Server.MapPath

在类文件中使用: System.Web.HttpServerUtility server = System.Web.HttpContext.Current.Server; server.MapPath(...)

--------------------- 本文来自 liyifei21 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/liyifei21/article/details/7713864?utm_source=copy

猜你喜欢

转载自blog.csdn.net/dreamiii/article/details/82835488
今日推荐