标签:
1.首先引用dll文件
2. //DBAccess.dll引用一個dll文件
private IDBAccess _access;
private static readonly string mySqlConnectionString = System.Configuration.ConfigurationManager.AppSettings["MySqlConnectionString"].ToString();
protected void Page_Load(object sender, EventArgs e)
{
_access = DBFactory.getDBAccess(DBType.MySql, mySqlConnectionString);
//0k可以增刪崇改查了
}
如下图片
标签:
原文地址:http://www.cnblogs.com/sdya/p/4212648.html