SQL
SqlConnection sqlCon = new SqlConnection();
sqlCon.ConnectionString = 连接字符串;
其他
OleDbConnection oleCon = new OleDbConnection();
oleCon.ConnectionString = 连接字符串;
查些书吧,我原来也是不懂怎么连,是看书的
SqlConnection sqlCon = new SqlConnection();
sqlCon.ConnectionString = 连接字符串;
其他
OleDbConnection oleCon = new OleDbConnection();
oleCon.ConnectionString = 连接字符串;
查些书吧,我原来也是不懂怎么连,是看书的