Displaying a password as * format
CODE:
int passLength;
string tempString = string.Empty;
passLength = this.Fields["password"].Value.Length;
for (int i = 0; i <= passLength; i++)
{
tempString += "*";
}
this.txtAcctInfoPassword.Text = tempString;
0 comments:
Post a Comment