hi there , in my App i made a Form that u log into the App whit .
the code is :
SqlCommand cmd1 = new SqlCommand();
SqlParameter parm = new SqlParameter("@parm",SqlDbType.VarChar,50,"Pass");
cmd1.CommandText = "select @parm = Pass from Bakara";
string Password = parm.Value.ToString();
if(Password == this.editBox1.Text)
MessageBox.Show("The Pass Is False try Agian");
MessageBox.Show("Incoorect 3 time Piss Off");
now if the user close the form the app is still working whitout the login was verified to be true .
what can i do to overpower this problem ?