Is SQL Server already installed? What is in the connection string when you are trying to connect?
this is my connect function to connect with database, I think there is problem with this coding. Please can you help.
Public Sub connect()
sconn = "Data Source=SUJAL;Initial Catalog=staff;User ID=sa;Password=longtail"
scon = New SqlClient.SqlConnection(sconn)
scond = New SqlClient.SqlCommand
sqf = New SqlClient.SqlParameter
'sdr = SqlClient.SqlDataReader
If scon.State <> ConnectionState.Open Then