How I get the Abslut path of asp menu in c开发者_高级运维#
You should use MapPath
method. Like this:
var p = HttpContext.Current.Server.MapPath("~/App_Data/Example.xml");
How I get the Abslut path of asp menu in c开发者_高级运维#
You should use MapPath
method. Like this:
var p = HttpContext.Current.Server.MapPath("~/App_Data/Example.xml");
精彩评论