ASP.NET在类中引用Application和Server.MapPath

string file1=(string)HttpContext.Current.Application["userd"]+"sjkey.xml";
      string path1=System.Web.HttpContext.Current.Server.MapPath(file1);
posted on 2006-05-22 14:06  张波  阅读(1759)  评论(0编辑  收藏  举报