Hi
can any one help me why is error occured .....?
And i am using conneciton in this way..
SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["ConnectionStringNew"]);
Cannot open database "aTestingDB" requested by the login. The login failed.
Login failed for user 'KBBALOCH-PC\KBBALOCH'.
And
I am using dataset and update the dataset column like below and when i call it , it show th updated result in gridview . but it is not updating the database why can nay one help me....?
ds.Tables[0].Rows[9]["name"] = "Khuda bux";
Loading


Krishna GaradRank #191 · 12.8K reputationPosted Jun 14, 2011, 3:13 AM EDT
Posted Jun 14, 2011, 3:13 AM EDT
2) After ds.Tables[0].Rows[9]["name"] = "Khuda bux"; this statement, have you called , ds.Tables[0].AccessChanges()?
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted Jun 14, 2011, 3:31 AM EDT
it seems like there is no proper security setup.
hope this helps
Suthish NairRank #92 · 22.8K reputationPosted Jun 14, 2011, 3:32 AM EDT
Find Database Connection and Generate Connection String using Visual Studio