提示语法错误怎么改
Dim Con As New SqlConnection("server=localhost;database = northwind;integrated security = true")提示等号附近又语法错误怎么改啊 谢谢喽
改成这样试试
Dim Con As SqlConnection = New SqlConnection("server=localhost;database = northwind;integrated security = true")
或者用下面的语句
Dim Con As SqlConnection = New SqlConnection("Data Source=localhost;Integrated Security=SSPI;Initial Catalog=northwind")