极其郁闷。
太长时间没有动过VB了,接了个小东西,要用VB.net,还是要用2003.....
Dim StringSqlConnection As String = "server=127.0.0.1;database=ResultTotal;uid=sa;pwd=sa;"
Dim myConn As New SqlConnection(StringSqlConnection)
myConn.Open()
报这样的错,在open的时候
未处理的"System.NullReferenceException"类型的异常出现在system.data.dll中。
其他信息:未将对象引用设置到对象的实例。
也可以看图
谢谢谢谢