any one can help me for this..
my SQL connection code...
Dim con As New SqlConnection("Data Source=.\SQLEXPRESS; Initial Catalog=database; Integrated Security=SSPI")
the problem....
cannnot open database"database" requested by login failed.
login failed for user 'Mis_3\Mis_3'
name of my database = database.mdf
SQL server name = SQLEXPRESS
and i try this kind of connection..
Dim con As New SqlConnection("Data Source=.\SQLEXPRESS; Initial Catalog=database; User Id=Mis_3"
the error is = login faild for user 'Mis_3' the user is not associated with trusted sql server connection..
please correct my connection or give me some sample code...
my SQL connection code...
Dim con As New SqlConnection("Data Source=.\SQLEXPRESS; Initial Catalog=database; Integrated Security=SSPI")
the problem....
cannnot open database"database" requested by login failed.
login failed for user 'Mis_3\Mis_3'
name of my database = database.mdf
SQL server name = SQLEXPRESS
and i try this kind of connection..
Dim con As New SqlConnection("Data Source=.\SQLEXPRESS; Initial Catalog=database; User Id=Mis_3"
the error is = login faild for user 'Mis_3' the user is not associated with trusted sql server connection..
please correct my connection or give me some sample code...