2013年6月22日

将两个不同格式的XML文件,进行节点对照,并生成一个用于对照功能的XML

摘要: 经常有的需求是,需要将一种格式的XML转换成另一种XML。如果要实现这个功能首先需要将两个不同XML手动建立节点对照关系。然后存成XML或者数据文件。using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Xml; using System.Collections; using System.Wi. 阅读全文

posted @ 2013-06-22 15:07 学中医的程序员 阅读(401) 评论(0) 推荐(0) 编辑

winform 根据NAME查找控件

摘要: foreach (Control c in this.panel1.Controls) { if (c is TextBox && c.Name == "tb" + i.ToString()) { TextBox temp = c as TextBox; te... 阅读全文

posted @ 2013-06-22 15:01 学中医的程序员 阅读(436) 评论(0) 推荐(0) 编辑

导航