判断用户名是不过度,区分字符和汉字
摘要:byte[] bytName= System.Text.Encoding.GetEncoding("GB2312").GetBytes(txtUserName.Text.Trim()); if (bytName.Length > 10 || bytName.Length < 4) { ...
阅读全文
posted @ 2009-01-20 15:14
posted @ 2009-01-20 15:14
posted @ 2009-01-20 15:13
posted @ 2009-01-15 11:33