Erm, it seems fine, except:
H.R wrote:
5. my SqlConnection in application: "Server=192.168.0.205\\MYSQLSRV; Initial Catalog=Exam; Integrated Security=False; Persist Security Info=False; User ID=admin;Password=1001";
Well, that should be your connection string, not the actual connection, as in:
private void ConnectToDb()
{
SqlConnection sqlConn = new SqlConnection("Server=192.168.0.205\\MYSQLSRV; Initial Catalog=Exam; Integrated Security=False; Persist Security Info=False; User ID=admin;Password=1001");
sqlConn.Open(); // debug here. If THIS throws an exception, well, i can't help you
sqlConn.Close(); //if it doesn't, you're good to go.
}
Test it like that. If this is how you used it, though, I honestly do not know what is wrong. One more thing... i understand you added a login to the server instance... but DID you actually add a user to the database you want them to use? You'll find a "Users" folder in Databases/YourDb/Security/Users That should help. I think.
var question = (_2b || !(_2b));