摘要: XmlHelper是一个工具类 public static class XMLHelper { /// <summary> /// XML的编码方式,默认是UTF-8 /// </summary> public static Encoding xmlEncode; /// <summary> /// 阅读全文
posted @ 2016-03-01 08:31 lunawzh 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 一般我们在asp.net中使用HttpContext.Current.Request.MapPath或者 HttpContext.Current.Server.MapPath来获取文件的绝对路径, public Class1() { string file = HttpContext.Current 阅读全文
posted @ 2016-03-01 08:27 lunawzh 阅读(501) 评论(0) 推荐(0) 编辑