资源简介
用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个文件信息
相关资源
- C#个人通讯录系统
- C#个人通讯录管理系统
- C#通讯录实现
- ASP.NET C# 电子通讯录系统.
- ASP.NET通讯录小程序
- asp.net在线通讯录系统
- c#课程设计-模仿手机通讯录
- C#编写的通讯录管理系统C#源代码程序
- C#编写的通讯录管理系统源代码程序
- c#制作一个通讯录
- c#通讯录管理系统课程设计报告
- 三层架构——通讯录
- C#通讯录项目学生期末作业+C#.通讯录
- 通讯录模板
- 中国矿业大学程序设计综合实践学生
- C# windows窗体程序 通讯录
- 通讯录,不用数据库,功能很强大
- 基于C#和SQL简易通讯录
- C# excel转vcf生成器
- C#学习-制作简易通讯录
- C#语言做的学生通讯录
-
C#+xm
l通讯录 - CSharp通讯录编程
- 一个用c#文件流写的通讯录
- 简单的C#通讯录程序
- C#通讯录管理系统(带数据库)
- 一个简易的C#实现模拟手机通讯录
- 通讯录管理系统 C# 带数据库
- c#通讯录管理系统
- 通讯录(基于三层架构的C#源码)
评论
共有 条评论