随笔 - 15  文章 - 4  评论 - 4  阅读 - 6737
11 2006 档案
利用抽象工厂写的数据库通用类
摘要: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) 推荐(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) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示