文件名称:Justin20090531

  • 所属分类:
  • .net编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 585kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Justi*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

在VS2005.NET C#框架下,使用抽象工厂模式开发一个基于三层结构的数据库应用程序的登录部分,麻雀虽小,五脏俱全:

1程序运行后的主窗口有两个文本框和一个按钮,文本框分别用来输入用户名和密码,其中密码显示为*。按钮的文本是“登录”,功能是通过查询数据库判断当前用户名和密码是否正确,如果正确弹出“登录成功”对话框;如果失败弹出“登录失败”对话框。

2使用OOP的三层结构来实现。

3应用抽象工厂模式,使得该程序可以访问SQL数据库也可以访问ACCESS数据库,访问不同的数据库通过修改配置文件中的配置实现。

4登录数据库的用户名和密码均为sa。

-In the fr a mework of VS2005.NET C#, use the abstract factory pattern to develop a database of three-tier architecture based on the application log of the small but complete:

1 run after the main window has two text boxes and a button, text boxes were used to enter a user name and password, which password is displayed as*. Button text is "Login" function is to query the database to determine the adoption of the current user name and password are correct, if the right pop-up "login successful" dialog box if the failure of the pop-up "login failed" dialog box.

2 use OOP to achieve the three-tier structure.

3 the application of the abstract factory pattern, making the program can access the SQL database can also visit the ACCESS database, access to different database configuration file by modifying the configuration of the realization.

4 registry database user name and password are sa.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Test

....\Test

....\....\App.config

....\....\bin

....\....\...\Debug

....\....\...\.....\Test.BLL.dll

....\....\...\.....\Test.BLL.pdb

....\....\...\.....\Test.DAL.dll

....\....\...\.....\Test.DAL.pdb

....\....\...\.....\Test.DALFactory.dll

....\....\...\.....\Test.DALFactory.pdb

....\....\...\.....\Test.exe

....\....\...\.....\Test.exe.config

....\....\...\.....\Test.IDAL.dll

....\....\...\.....\Test.IDAL.pdb

....\....\...\.....\Test.Models.dll

....\....\...\.....\Test.Models.pdb

....\....\...\.....\Test.pdb

....\....\...\.....\Test.vshost.exe

....\....\...\.....\Test.vshost.exe.config

....\....\LoginForm.cs

....\....\LoginForm.Designer.cs

....\....\LoginForm.resx

....\....\obj

....\....\...\Debug

....\....\...\.....\Refactor

....\....\...\.....\ResolveAssemblyReference.cache

....\....\...\.....\TempPE

....\....\...\.....\......\Properties.Resources.Designer.cs.dll

....\....\...\.....\Test.csproj.GenerateResource.Cache

....\....\...\.....\Test.exe

....\....\...\.....\Test.LoginForm.resources

....\....\...\.....\Test.pdb

....\....\...\.....\Test.Properties.Resources.resources

....\....\...\Test.csproj.FileList.txt

....\....\Program.cs

....\....\Properties

....\....\..........\AssemblyInfo.cs

....\....\..........\Resources.Designer.cs

....\....\..........\Resources.resx

....\....\..........\Settings.Designer.cs

....\....\..........\Settings.settings

....\....\Resourse





....\....\Test.csproj

....\Test.sln

....\TestBLL

....\.......\bin

....\.......\...\Debug

....\.......\...\.....\Test.BLL.dll

....\.......\...\.....\Test.BLL.pdb

....\.......\...\.....\Test.DAL.dll

....\.......\...\.....\Test.DAL.pdb

....\.......\...\.....\Test.DALFactory.dll

....\.......\...\.....\Test.DALFactory.pdb

....\.......\...\.....\Test.IDAL.dll

....\.......\...\.....\Test.IDAL.pdb

....\.......\...\.....\Test.Models.dll

....\.......\...\.....\Test.Models.pdb

....\.......\obj

....\.......\...\Debug

....\.......\...\.....\Refactor

....\.......\...\.....\........\Test.BLL.dll

....\.......\...\.....\ResolveAssemblyReference.cache

....\.......\...\.....\TempPE

....\.......\...\.....\Test.BLL.dll

....\.......\...\.....\Test.BLL.pdb

....\.......\...\TestBLL.csproj.FileList.txt

....\.......\Properties

....\.......\..........\AssemblyInfo.cs

....\.......\TestBLL.csproj

....\.......\UsersManager.cs

....\TestDAL

....\.......\Access

....\.......\......\UsersService.cs

....\.......\bin

....\.......\...\Debug

....\.......\...\.....\Test.DAL.dll

....\.......\...\.....\Test.DAL.pdb

....\.......\...\.....\Test.IDAL.dll

....\.......\...\.....\Test.IDAL.pdb

....\.......\...\.....\Test.Models.dll

....\.......\...\.....\Test.Models.pdb

....\.......\obj

....\.......\...\Debug

....\.......\...\.....\Refactor

....\.......\...\.....\........\Test.DAL.dll

....\.......\...\.....\ResolveAssemblyReference.cache

....\.......\...\.....\TempPE

....\.......\...\.....\Test.DAL.dll

....\.......\...\.....\Test.DAL.pdb

....\.......\...\TestDAL.csproj.FileList.txt

....\.......\Properties

....\.......\..........\AssemblyInfo.cs

....\.......\SqlServer

....\.......\.........\UsersService.cs

....\.......\TestDAL.csproj

....\TestDALFactory

....\..............\AbstractDALFactory.cs

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org