03 2006 档案

摘要: 读: //打开某文件(假设web.config在根目录中)string filename=Server.MapPath("/") + @"WebApplication1\web.config";XmlDocument xmldoc= new XmlDocument();xmldoc.Load(filename);//得到顶层节点列表XmlNodeList topM=xmldoc.DocumentE...阅读全文

posted @ 2006-03-21 16:01 橙子 阅读(865) | 评论 (0) 编辑 |

摘要: public int SetEclipse(){int ret = 0;XmlDocument doc = new XmlDocument();doc.Load("SystemSet.xml");XmlElement root = doc.DocumentElement ;XmlNode eclipse = root.SelectSingleNode("descendant::HaveEclips...阅读全文

posted @ 2006-03-21 10:49 橙子 阅读(577) | 评论 (0) 编辑 |

posts - 12, comments - 43, trackbacks - 1, articles - 5

Copyright © 橙子