lehongduc > 08-11-16, 12:10 PM
If <ta chọn kết nối đến MSSQL> Then
cnConn.Open _
"Provider = sqloledb;" & _
"Data Source=" & vServer & ";" & _
"Initial Catalog=" & vData & ";" & _
"User ID=" & vUser & ";" & _
"Password=" & vPsw & ";"
Else
MySQLConn = True
cnConn.Open _
"Provider=MSDASQL; _
Driver={MySQL ODBC 5.3 Unicode Driver}; _
Server=" & vServer & "; _
Database=" & vData & "; _
User=" & vUser & "; _
Password=" & vPsw & "; _
Option=3;"
End If
hieuvn > 08-11-16, 03:26 PM
maidinhdan > 08-11-16, 10:09 PM