摘要:
获取网站根目录的方法有几种如:Server.MapPath(Request.ServerVariables["PATH_INFO"])Server.MapPath("/")Server.MapPath("")Server.MapPath(".")Server.MapPath("../")Server.MapPath("..") Page.Request.ApplicationPath运行结果:C:... 阅读全文
摘要:
直接新建个程序集或类,你也可以自己改下,可直接调用。[代码]操作范例:[代码] 阅读全文