通讯录管理系统sqlserver版


用vs2008和sqlserver2008完成的通讯录,系统设计三层架构。用到xml处理,各种winform控件
资源截图
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using System.Text.Regularexpressions;

namespace 通讯录UI
{
    public partial class AlterPwd : Form
    {
        public AlterPwd()
        {
            InitializeComponent();
        }
        //修改密码
        private void butAlter_Click(object sender EventArgs e)
        {
            
            labEmail.Visible = false;
            labAll.Visible = false;
            labQueRen.Visible = false;
            labPwd.Visible = false;

            if (txtName.Text == ““ || txtPwd.Text == ““ || txtEmail.Text == ““||txtNewPwd.Text ==““||txtNewPwdt.Text==““)
            {
                labAll.Visible = true;
                return;
            }
            if (txtNewPwdt.Text != txtNewPwd.Text)
            {
                labQueRen.Visible = true;
                return;
            }

            string s = @“^w+([-+.‘]w+)*@w+([-.]w+)*.w+([-.]w+)*$“;
            Regex r = new Regex(s);
            if (r.Match(txtEmail.Text).Success==false)
            {
                labEmail.Visible = true;
                return;
            }

            LoginBLL bll = new LoginBLL();

            bool b = bll.UpdateBLL(txtName.Text txtPwd.Text txtNewPwd.Text txtEmail.Text);
            if (b)
            {
                MessageBox.Show(“修改成功请登录“);
                //this.Close();
                this.DialogResult = DialogResult.Retry;
            }
            else
            {
                this.DialogResult = DialogResult.None;
                MessageBox.Show(“验证不正确,修改失败“);
            }

           
        }

        private void AlterPwd_FormClosed(object sender FormClosedEventArgs e)
        {
            this.DialogResult = DialogResult.Retry;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2010  2010-09-19 11:58  通讯录Perfect通讯录PerfectAlterPwd.cs

     文件       9881  2010-09-16 16:05  通讯录Perfect通讯录PerfectAlterPwd.designer.cs

     文件       5814  2010-09-16 16:05  通讯录Perfect通讯录PerfectAlterPwd.resx

     文件        243  2010-09-14 15:04  通讯录Perfect通讯录PerfectApp.config

     文件        358  2010-10-27 22:01  通讯录Perfect通讯录PerfectinDebugabout.xml

     文件       2373  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto1.gif

     文件       2454  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto2.gif

     文件       7822  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto2.jpg

     文件       2485  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto3.gif

     文件       2481  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto4.gif

     文件       2480  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto6.gif

     文件       2461  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto22.gif

     文件      71358  2010-09-16 20:08  通讯录Perfect通讯录PerfectinDebug
esourcephoto51_avatar_small.jpg

    ..A.SH.     36352  2010-09-16 21:13  通讯录Perfect通讯录PerfectinDebug
esourcephotoThumbs.db

     文件     173100  2010-09-17 14:46  通讯录Perfect通讯录PerfectinDebug
esource
esume张三.rtf

     文件     331264  2010-11-21 16:19  通讯录Perfect通讯录PerfectinDebug通讯录完美版.exe

     文件        243  2010-09-14 15:04  通讯录Perfect通讯录PerfectinDebug通讯录完美版.exe.config

     文件     189952  2010-11-21 16:19  通讯录Perfect通讯录PerfectinDebug通讯录完美版.pdb

     文件      14328  2010-11-21 16:17  通讯录Perfect通讯录PerfectinDebug通讯录完美版.vshost.exe

     文件        243  2010-09-14 15:04  通讯录Perfect通讯录PerfectinDebug通讯录完美版.vshost.exe.config

     文件        490  2007-07-21 02:33  通讯录Perfect通讯录PerfectinDebug通讯录完美版.vshost.exe.manifest

     文件    5242880  2010-09-16 08:55  通讯录Perfect通讯录PerfectDatabaseAddress .mdf

     文件    1048576  2010-09-16 08:55  通讯录Perfect通讯录PerfectDatabaseAddress _log.ldf

     文件     196271  2010-09-19 09:21  通讯录Perfect通讯录PerfectDatabase.rar

     文件       3160  2010-10-13 13:01  通讯录Perfect通讯录PerfectFormMainAboutForm.cs

     文件       9480  2010-10-13 12:59  通讯录Perfect通讯录PerfectFormMainAboutForm.designer.cs

     文件       5814  2010-10-13 12:59  通讯录Perfect通讯录PerfectFormMainAboutForm.resx

     文件       1457  2010-11-21 16:19  通讯录Perfect通讯录PerfectFormMainFormAbout.cs

     文件       6318  2010-11-21 16:19  通讯录Perfect通讯录PerfectFormMainFormAbout.Designer.cs

     文件     139071  2010-11-21 16:19  通讯录Perfect通讯录PerfectFormMainFormAbout.resx

............此处省略89个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)