Hi,
im getting an error
'Invalid term expression else'.
private void button1_Click(object sender, EventArgs e)
{
ClassLogin clgn = new ClassLogin();
bool sts =clgn.Check(textBox2.Text, textBox1.Text);
if (sts == true)
{
MessageBox.Show("OK");
else
MessageBox.Show("Your Username or password is incorrect");
}
}
WHY?