Dim coon As ADODB.ConnectionSet conn = New ADODB.Connection conn.ConnectionString = "Provider=SQLOLEDB;Data Source=" & server & _ ";Initial Catalog=" & dataName & _ ";User Id=" & user & _ ";Password=" & pwd & ";" conn.Open 数据库连接代码
怎么自动生成????????
Dim coon As ADODB.ConnectionSet conn = New ADODB.Connection conn.ConnectionString = "Provider=SQLOLEDB;Data Source=" & server & _ ";Initial Catalog=" & dataName & _ ";User Id=" & user & _ ";Password=" & pwd & ";" conn.Open数据库连接代码
可以详细一点吗??????