Guy's I've this code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cnStrBuilder As New SqlConnectionStringBuilder()
cnStrBuilder.InitialCatalog = "FirstSQLDB"
cnStrBuilder.DataSource = "WIN-H08I7LJ7JEA\SQLEXPRESS"
cnStrBuilder.ConnectTimeout = 30
Dim cn As New SqlConnection()
cn.ConnectionString = cnStrBuilder.ConnectionString
cn.Open()
Dim strSQL As String = "Select * From Employee_Info"
Dim myCommand As New SqlCommand(strSQL, cn)
Dim reader As SqlDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection)
TextBox1.Text = reader(1).ToString()
End Sub
Evey tome I run it, I got the same error
"Login failed for user ''. The user is not associated with a trusted SQL Server connection."
I did a lot of things but i doesn't work
Please Help ??