Hello there all,
Since i am beginner with asp.net........Got some errors while i was doing...........I got this.....If anyone could help me or let me know how to fix it............
Login failed for user 'BATBAYAR\ASPNET'.
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: Login failed for user 'BATBAYAR\ASPNET'.
Line 157: SqlDataAdapter1.SelectCommand.CommandText = _
Line 158: "SELECT * FROM Employee " & Session("sortby")
Line 159: SqlDataAdapter1.Fill(ds, "employee")
Line 160: DataGrid1.DataSource = ds
Line 161: DataGrid1.DataBind()
Any ideas,advices would be big help!
Thanks in advance.....