我的SQL语句(应该没有错):
string ConnectionString ="data source=localhost;initial catalog=EPS; user id =sa;pwd=sa;";
string Sql = "SELECT * FROM users";
SqlConnection thisConnection = new SqlConnection(ConnectionString);
SqlDataAdapter adapter = new SqlDataAdapter(Sql, thisConnection);
DataTable table = new DataTable();
adapter.Fill(table);
myDataGrid.DataSource = table;
myDataGrid.DataBind();我的问题是:为什么总是出现这个错误提示:SQL Server 不存在或访问被拒绝。 究竟是SQL Server哪里配置有问题,求各位大虾帮忙