i always did like this
Code:
cn.Provider = "SQLOLEDB"
cn.Properties("Data Source").Value = "127.0.0.1,1433"
cn.Properties("Initial Catalog").Value = "LevelDB"
cn.Properties("User ID").Value = "sa"
cn.Properties("Password").Value = "123456"

cn.Open
but now, i got the run-time error '3705'

why am i doing wrong?