I have a datagrid that I am trying to populate when I press a button. I know I have connectivity to the database becasue my dropdowns pull data from the database... does any one know why I get this error and how to remedy it ?
Invalid object name 'User'.
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: Invalid object name 'User'.
Line 189: SqlDataAdapter ad = new SqlDataAdapter(sql.ToString(), cnFriends);
Line 190: dsResults = new DataSet();
Line 191: ad.Fill(dsResults, "User");
Line 193: if (dsResults.Tables["User"].Rows.Count <