G
Giuseppe Pezzella
Dear friends my problem is this:
I have installed MSDE and when try to connect to it by this code:
Try
Dim conn As New SqlConnection("server=VSDOTNET;uid=sa;database=master")
conn.Open()
If (conn.State = ConnectionState.Open) Then
MessageBox.Show("Connection opened successfully")
End If
conn.Close()
Catch ex As SqlException
MessageBox.Show(ex.Message)
End Try
.....an msgbox show this message:"SQL Server not Exist or Denide Access". Why
??
I have installed MSDE and when try to connect to it by this code:
Try
Dim conn As New SqlConnection("server=VSDOTNET;uid=sa;database=master")
conn.Open()
If (conn.State = ConnectionState.Open) Then
MessageBox.Show("Connection opened successfully")
End If
conn.Close()
Catch ex As SqlException
MessageBox.Show(ex.Message)
End Try
.....an msgbox show this message:"SQL Server not Exist or Denide Access". Why
??