string MakeRandomCode()
{
string chkCode;
string character = "0123456789";
//character += "ABCDEFGHIJKLMNPQRSTUVWXYZ";
chkCode = "";
Random rnd = new Random();
//生成验证码字符串
for (int i = 0; i < 6; i++)
{
chkCode += character[rnd.Next(character.Length)];
}
return chkCode;
}