2010年1月28日
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta htt... 阅读全文
posted @ 2010-01-28 15:58 挑战自我 阅读(1174) 评论(0) 推荐(0) 编辑
  2009年11月11日
摘要: 学习历程: 初次面对要验证用户名是否已经存在数据里的解决方法: 用的是CustomValidator1验证控件的ServerValidate事件。 protected void CustomValidator1_ServerValidate1(object source, ServerValidateEventArgs args) { SqlConnection tt = new SqlConne... 阅读全文
posted @ 2009-11-11 20:28 挑战自我 阅读(1646) 评论(0) 推荐(1) 编辑
  2009年10月26日
摘要: 在注册时使用md5 对密码进行加密。先写一个方法: public string Get_MD5_Method1(string strSource) { System.Security.Cryptography.MD5 md5 = new System.Security.Cryptography.MD5CryptoServiceProvider(); //获取密文字节数组 byte[] bytRes... 阅读全文
posted @ 2009-10-26 18:03 挑战自我 阅读(254) 评论(0) 推荐(0) 编辑