博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月7日

摘要: 1.文件路径右键xml文件,选择属性,Build Action 选择Content,此时xml文件就在项目根目录下,直接引用xml文件名即可。2.遍历节点 private ReadXML() { XmlDocument doc = new XmlDocument(); string attribute1= string.Empty; string attribute2 = string.Empty; string sqlColumnName = string.Empty; ... 阅读全文

posted @ 2013-03-07 09:55 澍可 阅读(137) 评论(0) 推荐(0) 编辑