Code for password validation for new password,confirm passd.
i want to validation for old password ,new password,confirm password in my windows application form .so plz give me suggestion.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mukesh Kumar TiwariRank #1,774 · 844 reputationPosted Nov 10, 2013, 9:34 PM EST
{
MessageBox.Show("Please Enter the full name of the user");
txt_fullname.Focus();
}
else if (txt_loginname.Text == "")
{
MessageBox.Show("Please enter the login name");
txt_loginname.Focus();
}
else if (txt_pass.Text == "")
{
MessageBox.Show("please enter the password");
txt_pass.Focus();
}
esle
{
insert_data();
}
Abhay ShankerRank #375 · 6.7K reputationPosted Nov 10, 2013, 10:35 PM EST
write a Stored procedure which have two condition first match the old password and another if matched then update new password.password does not matched must have return using out parameter