摘要:
读取:XmlDocument source = new XmlDocument(); XmlNode objnode; int i; string title,href; //载入新闻列表的XML文件 source.Load(Server.MapPath("contents.xml")); objnode=source.SelectSingleNode("topiclist... 阅读全文
posted @ 2006-10-20 15:58
RobotTech
阅读(455)
评论(1)
推荐(0)
摘要:
protected void Application_Start(Object sender, EventArgs e) { StreamReader rd = new StreamReader(Server.MapPath("counter.txt")); int nNum = int.Parse(rd.ReadLine()); Application.Lock(); ... 阅读全文
posted @ 2006-10-20 14:18
RobotTech
阅读(656)
评论(0)
推荐(1)
摘要:
/// /// 将整个文件夹复制到目标文件夹中。 /// /// 源文件夹 /// 目标文件夹 public static void CopyDir(string srcPath,string aimPath) { try { // 检查目标目录是否以目录分割字符结束如果不是则添加之 if(aimPath[aimPath.Length-1] != Path... 阅读全文
posted @ 2006-10-20 11:51
RobotTech
阅读(1306)
评论(0)
推荐(0)

浙公网安备 33010602011771号