文章分类 -  开发随笔

C# 遍历Xml文件(一)
摘要:2007-06-19 21:31 by l, 5401 阅读, 1 评论, 收藏, 编辑前一段时间做的东西,打算把它分时间上传上来,供大家分享。我们都知道Xml已经成为一种公认的标准,所以商业上可以把它作为接口以供不同的公司之间进行通信。下面我把自己搜集到的Xml遍历算法一一列举出来:GetXmlData(){ ArrayList headersubList = new ArrayList(); //获取当前XML文档的根 一级 XmlNode oNode = m_oDom.DocumentElement; //获取根节点的所有子节点列表 XmlNodeList oList = oNode.. 阅读全文
posted @ 2012-10-13 19:10 Jarrett.zhou 阅读(351) 评论(0) 推荐(0)
C# 释放窗体内存!
摘要:什么都有不用说了,直接贴代码!using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Diagnostics;namespace ReleaseMemory_Win{ public partial cla 阅读全文
posted @ 2012-03-28 19:32 Jarrett.zhou 阅读(514) 评论(0) 推荐(0)