摘要: --创建数据库和表create database MyDataBaseuse MyDataBasecreate table mytable(id int identity(1,1),name varchar(20))--执行这个SQL,就能查出来刚插入记录对应的自增列的值insert into mytable values('李四')select @@identity 阅读全文
posted @ 2007-06-03 10:35 磊.NET 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 无标题页 输入密码: 密码强度: 弱 中 强 阅读全文
posted @ 2007-05-14 10:19 磊.NET 阅读(365) 评论(0) 推荐(0) 编辑
摘要: //SHA-1算法string password = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(Password.Text, "SHA1");//MD5算法string password1 = System.Web.Security.FormsAuthentication.HashPassw... 阅读全文
posted @ 2007-05-14 09:57 磊.NET 阅读(569) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms; namespace getPinYin{ public partial cl... 阅读全文
posted @ 2007-05-11 16:24 磊.NET 阅读(293) 评论(0) 推荐(0) 编辑
摘要: //textbox1对应name字段 //textbox2对应password字段using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;... 阅读全文
posted @ 2007-05-11 10:12 磊.NET 阅读(1101) 评论(2) 推荐(0) 编辑