i am doin project using vb.net 2005 and using this sql query for connection
sql = "select username from login order by username"
con.ConnectionS tring = "Data Source=" & hostname & "; Initial Catalog=college ;integrated security=sspi"
but m getting the following error:
Cannot open database "college" requested by the login. The login failed.
Login failed for user 'CI4\Admin'.
sql = "select username from login order by username"
con.ConnectionS tring = "Data Source=" & hostname & "; Initial Catalog=college ;integrated security=sspi"
but m getting the following error:
Cannot open database "college" requested by the login. The login failed.
Login failed for user 'CI4\Admin'.
Comment