32位操作系统连接地址
ConnStr="Provider = Sqloledb; User ID = " & datauser & "; Password = " & databasepsw & "; Initial Catalog = " & databasename & "; Data Source = " & dataserver & ";"
'64位操作系统连接地址
ConnStr="PROVIDER=SQLOLEDB;DATA SOURCE=" & dataserver & ";UID=" & datauser & ";PWD=" & databasepsw & ";DATABASE="& databasename &";"