摘要: Method 1.According to the abstract class of ADO.NET,accomplish the core code of ADO.NET,named DBHelper.Then generate a concrete database ADO.NET object using factory,as the below showing.public class DBHelper { //获取数据库类型 private static string strDbType = CommonUtils.GetConfigValueByKey("dbType& 阅读全文
posted @ 2011-06-26 07:44 cnbwang 阅读(431) 评论(0) 推荐(0) 编辑