J
Jim Light
Hi,
Upon compiling the code below code, I get the following runtime error:
"Cannot open database "DataClassesDataContext" requested by the login.
The login failed. Login failed for user 'dbstore'."
I know for a fact that the login 'dbstore' and the password are
correct, since I use them to connect for the db with ADO.net.
protected void Page_Load(object sender, EventArgs e)
{
DataClassesDataContext db = new DataClassesDataContext();
var query = from p in db.users
select p;
GridView1.DataSource = query;
GridView1.DataBind();
}
Upon compiling the code below code, I get the following runtime error:
"Cannot open database "DataClassesDataContext" requested by the login.
The login failed. Login failed for user 'dbstore'."
I know for a fact that the login 'dbstore' and the password are
correct, since I use them to connect for the db with ADO.net.
protected void Page_Load(object sender, EventArgs e)
{
DataClassesDataContext db = new DataClassesDataContext();
var query = from p in db.users
select p;
GridView1.DataSource = query;
GridView1.DataBind();
}