摘要: C#连接4种类型数据库(Access、SQL Server、Oracle、MySQL)1、C#连接连接Accessusing System.Data; using System.Data.OleDb; string strConnection="Provider=Microsoft.Jet.OleDb.4.0;"; strConnection +=@"Data Source=C:/BegASPNET/Northwind.mdb"; OleDbConnection objConnection=new OleDbConnection(strConnectio 阅读全文
posted @ 2009-08-04 08:13 程序员天下 阅读(376) 评论(0) 推荐(0) 编辑