if (txt_pass.text == txt_confirm_pass.text) { // Your Logic } else { MessageBox.Show ("Password not matched.", "My Application", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk); }</script>
if (string.Compare(myPassword.Text, myConfirmPassword.Text) != 0) MessageBox("Passwords do not Match, Please Correct!");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)