Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Cannot open database "BB" requested by the login. The login failed.
Login failed for user 'ASUS-PC\ASUS'.
Source Error:
Line 22: SqlDataAdapter adpt = new SqlDataAdapter(sql, con);
Line 23: DataTable dt = new DataTable();Line 24: adpt.Fill(dt); |
how can i slove this because my database name is different and showing the different database error please guide me.......