how can i validate password texbox in C#.net windows application ??
Posted on 2011-02-22
i want to validate password that only 8 chars long and accept (0-9,a-z and special characters).
i want to use regular expressions in this , and also using textbox validating event and textbox validated event , so how can i do that ?
private void txtPassword_Validating(object sender, System.ComponentModel.CancelEventArgs e)
// here coding ...
private void txtPassword_Validated(object sender, EventArgs e)
give me some suggestions ...