FormsAuthentication.HashPasswordForStoringInConfigFile(txtPassword.Text,encryptFormat);
感觉名字挺长,很不容易记,帕到时候写不出来,只好记它的名字空间了。