below are my codes i want if you input wrong pasword it notify wrong password
kindly help to rectify
users = svcclient.Getuser(Convert.ToInt32(txtpassword.Text));
if (txtpassword.Text == users.user_pin)
{
//frontend.MDIfrontend front = new frontend.MDIfrontend();
//front.ShowDialog();
MessageBox.Show("Invalid Credentials!", "SoftByt info Tech");
}
else
{
frontend.MDIfrontend front = new frontend.MDIfrontend();
front.ShowDialog();
this.Dispose();
}
ketan borsdiyaPosted Jul 19, 2016, 8:43 AM