资源简介
用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\通讯录Perfect\AlterPwd.cs
文件 9881 2010-09-16 16:05 通讯录Perfect\通讯录Perfect\AlterPwd.designer.cs
文件 5814 2010-09-16 16:05 通讯录Perfect\通讯录Perfect\AlterPwd.resx
文件 243 2010-09-14 15:04 通讯录Perfect\通讯录Perfect\App.config
文件 358 2010-10-27 22:01 通讯录Perfect\通讯录Perfect\bin\Debug\about.xm
文件 2373 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\01.gif
文件 2454 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\02.gif
文件 7822 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\02.jpg
文件 2485 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\03.gif
文件 2481 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\04.gif
文件 2480 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\06.gif
文件 2461 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\22.gif
文件 71358 2010-09-16 20:08 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\51_avatar_small.jpg
..A.SH. 36352 2010-09-16 21:13 通讯录Perfect\通讯录Perfect\bin\Debug\resource\photo\Thumbs.db
文件 173100 2010-09-17 14:46 通讯录Perfect\通讯录Perfect\bin\Debug\resource\resume\张三.rtf
文件 331264 2010-11-21 16:19 通讯录Perfect\通讯录Perfect\bin\Debug\通讯录完美版.exe
文件 243 2010-09-14 15:04 通讯录Perfect\通讯录Perfect\bin\Debug\通讯录完美版.exe.config
文件 189952 2010-11-21 16:19 通讯录Perfect\通讯录Perfect\bin\Debug\通讯录完美版.pdb
文件 14328 2010-11-21 16:17 通讯录Perfect\通讯录Perfect\bin\Debug\通讯录完美版.vshost.exe
文件 243 2010-09-14 15:04 通讯录Perfect\通讯录Perfect\bin\Debug\通讯录完美版.vshost.exe.config
文件 490 2007-07-21 02:33 通讯录Perfect\通讯录Perfect\bin\Debug\通讯录完美版.vshost.exe.manifest
文件 5242880 2010-09-16 08:55 通讯录Perfect\通讯录Perfect\Databa
文件 1048576 2010-09-16 08:55 通讯录Perfect\通讯录Perfect\Databa
文件 196271 2010-09-19 09:21 通讯录Perfect\通讯录Perfect\Databa
文件 3160 2010-10-13 13:01 通讯录Perfect\通讯录Perfect\FormMain\AboutForm.cs
文件 9480 2010-10-13 12:59 通讯录Perfect\通讯录Perfect\FormMain\AboutForm.designer.cs
文件 5814 2010-10-13 12:59 通讯录Perfect\通讯录Perfect\FormMain\AboutForm.resx
文件 1457 2010-11-21 16:19 通讯录Perfect\通讯录Perfect\FormMain\FormAbout.cs
文件 6318 2010-11-21 16:19 通讯录Perfect\通讯录Perfect\FormMain\FormAbout.Designer.cs
文件 139071 2010-11-21 16:19 通讯录Perfect\通讯录Perfect\FormMain\FormAbout.resx
............此处省略89个文件信息
相关资源
- 学生通讯录
- ASP.NET课程设计+报告-单班通讯录管理
- C#通讯录管理系统270589
- 用asp.net做的通讯录管理系统
- 基于asp.net的通讯录系统
- C# 通讯录全版
- 基于ASP.NET三层架构的通讯录毕业设计
- asp.net63 同学录校友录通讯录 毕业设计
- C#结合数据库开发的通讯录管理系统
- C# Asp.net简单通讯录
- 个人通讯录管理系统C#+Sql Sever
- VS实现简单通讯录
- C# 个人通讯录系统
- C# winform 通讯录软件
- C#个人通讯录管理系统含有数据库
- C#-通讯录+vs2005+sql2000
- ASP.NET通讯录
- 通讯录系统设计C#语言开发
- C#通讯录管理系统源程序
- c#做的简单通讯录
- .net网页通讯录管理系统
- c#通讯录系统 c#通讯录系统
- C#个人通讯录系统
- C#个人通讯录管理系统
- C#通讯录实现
- ASP.NET C# 电子通讯录系统.
- ASP.NET通讯录小程序
- asp.net在线通讯录系统
- c#课程设计-模仿手机通讯录
- C#编写的通讯录管理系统C#源代码程序
评论
共有 条评论