OLEDB.4.0连接ACCESS,怎么改成
sql SERVER
数据库? 连接如下 Public isclose As Boolean Public username As String Public path As String = "provider=microsoft.jet.oledb.4.0;data source= " + Application.StartupPath + "/salary.mdb " 如何改成: Public path As String = "Driver={
sql Server};Database=gongzi;Server=127.0.0.1;uid=sa;pwd= " cnn.open path End Module __________________________________________________________________________ "Provider=
sqloledb;Database=gongzi;Server=127.0.0.1;uid=sa;pwd= " __________________________________________________________________________ Provider=
sqlOLEDB.1;Data Source=.;User ID=sa;Initial Catalog=DataBase; Password= __________________________________________________________________________
修改是不是必须用 microsoft.jet.oledb.4.0 否则后面的都要改啊? 我可不会怎么该 __________________________________________________________________________ 自己顶下 __________________________________________________________________________ oledb 连接方式最好也改成
sql __________________________________________________________________________
原文链接:https://www.f2er.com/vb/263809.html