/images/avatar.jpg

测试代码插件

  测试代码:

1
2
3
4
5
        private void button1_Click(object sender, EventArgs e)
        {
            DataAccess da = new DataAccess();
            if (textBox2.Text == textBox3.Text)
            {
1
2
3
4
5
6
7
        private void button1_Click(object sender, EventArgs e)
        {
            DataAccess da = new DataAccess();
            if (textBox2.Text == textBox3.Text)
            {
                try
                {
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
        private void button1_Click(object sender, EventArgs e)
        {
            DataAccess da = new DataAccess();
            if (textBox2.Text == textBox3.Text)
            {
                try
                {
                    string md5ma = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile('" + textBox2.Text + "', '"MD5"');//设置MD5 32位大写  引用system.web
                    DataView ds = da.GetDataView("select [tb_user].* from [tb_user] where [tb_user].yhm='" + textBox1.Text + "'");
                    int yzczy = ds.Count;
                    if (yzczy == 0)
                    {
                        int xjgly = da.ExecuteCommand("insert into  [tb_user](yhm,pass) values('" + textBox1.Text + "','" + md5ma + "')");
                        if (xjgly == 0)
                        {
                            MessageBox.Show("账号重复", "请确认");
                        }
                        else
                        {
                            MessageBox.Show("添加成功", "成功");
                        }

                    }
                }
                catch
                {
                    MessageBox.Show("发生系统错误","提示");
                }
            }
            else
            {
                MessageBox.Show("密码不一致","提示");
            }
        }

  再来点PHP的

哥的博客又活了

  因为换了服务器,一直没有转移数据也没有时间去弄~在记起了的时候,发现数据已经丢失了部分!

  现在,哥的博客又活过来了,而且这次将长期的活下去,额,当然过程中出现了不少的问题最近一直在想,博客是不是需要更换域名了。   CN始终不是办法,用什么捏? 什么捏?   换不换捏?这个域名毕竟用了这么多年了都

最终还是来了

  三叶草,四叶草,五叶草,六叶草……

  冯宇的任务又到了。艰苦的日子到了!

  看图说话!鱼我所欲也,熊掌亦我所欲也!

https://img.9x81.com/wp-content/uploads/2010/07/2010-7-15-.jpg
2010-7--15-

我们之间更多的是语言,是感觉

  我本是一个有着邪恶内心的人,思维混乱,不着边际。这些年来逐渐的发现内心平静下来了,是年龄的增长还是因为你或者说是外界影响的原因。你至少占了绝大部分的因素!