利用抽象工厂写的数据库通用类
摘要:public abstract class DBFactory { public abstract IDbConnection GetDBConnection(); public abstract IDbCommand GetDBCommand(); public abstract IDbDataAdapter GetDataAdapter(IDbCommand dic); }class DBOp...
阅读全文
posted @
2006-11-20 17:39
大胖头
阅读(301)
推荐(0) 编辑
对于任意的XML的遍历
摘要:class test { private static string root; public static void showXML(string path) { XmlDocument xd = new XmlDocument(); xd.Load(path); XmlNodeList xnl = xd.DocumentElement.ChildNodes; root = xd.FirstC...
阅读全文
posted @
2006-11-08 22:52
大胖头
阅读(525)
推荐(0) 编辑