摘要: AppDomain.CurrentDomain.BaseDirectory//项目跟路径 this.tempPath = Server.MapPath("UploadResourceImage\\");//上传图片到项目中UploadResourceImage文件夹下 this.tempUrl = "~/Content/UploadResourceImage/"; 阅读全文
posted @ 2012-09-12 17:54 717806198 阅读(191) 评论(0) 推荐(0)
摘要: /// <summary> /// load xml文件 /// </summary> /// <returns></returns> private XmlElement LoadXmlConfig() { XmlDocument xml = new XmlDocument(); xml.LoadXml(LoadFileContent()); return xml.DocumentElement; } /// <summary> ... 阅读全文
posted @ 2012-09-12 16:18 717806198 阅读(166) 评论(0) 推荐(0)
摘要: public Dictionary<string, int[]> GetWebVisitedTopInfo(Dictionary<string, int[]> websiteVisitInfo, int topCount) { Dictionary<string, int[]> websiteTopinfo = new Dictionary<string, int[]>(); List<KeyValuePair<string, int[]>> list = sortByValue(websiteVisitInfo); .. 阅读全文
posted @ 2012-09-12 16:11 717806198 阅读(202) 评论(0) 推荐(0)