文件名称:Justin20090531
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:584.72kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在VS2005.NET C#框架下,使用抽象工厂模式开发一个基于三层结构的数据库应用程序的登录部分,麻雀虽小,五脏俱全:
1程序运行后的主窗口有两个文本框和一个按钮,文本框分别用来输入用户名和密码,其中密码显示为*。按钮的文本是“登录”,功能是通过查询数据库判断当前用户名和密码是否正确,如果正确弹出“登录成功”对话框;如果失败弹出“登录失败”对话框。
2使用OOP的三层结构来实现。
3应用抽象工厂模式,使得该程序可以访问SQL数据库也可以访问ACCESS数据库,访问不同的数据库通过修改配置文件中的配置实现。
4登录数据库的用户名和密码均为sa。
-In the framework 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.
1程序运行后的主窗口有两个文本框和一个按钮,文本框分别用来输入用户名和密码,其中密码显示为*。按钮的文本是“登录”,功能是通过查询数据库判断当前用户名和密码是否正确,如果正确弹出“登录成功”对话框;如果失败弹出“登录失败”对话框。
2使用OOP的三层结构来实现。
3应用抽象工厂模式,使得该程序可以访问SQL数据库也可以访问ACCESS数据库,访问不同的数据库通过修改配置文件中的配置实现。
4登录数据库的用户名和密码均为sa。
-In the framework 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/Properties/Settings.settings
Test/Test/Properties/AssemblyInfo.cs
Test/Test/Properties/Resources.Designer.cs
Test/Test/Properties/Settings.Designer.cs
Test/Test/Properties/Resources.resx
Test/Test/LoginForm.Designer.cs
Test/Test/Program.cs
Test/Test/Test.csproj
Test/Test/bin/Debug/Test.vshost.exe
Test/Test/bin/Debug/Test.exe
Test/Test/bin/Debug/Test.pdb
Test/Test/bin/Debug/Test.exe.config
Test/Test/bin/Debug/Test.vshost.exe.config
Test/Test/bin/Debug/Test.BLL.dll
Test/Test/bin/Debug/Test.Models.dll
Test/Test/bin/Debug/Test.DAL.dll
Test/Test/bin/Debug/Test.IDAL.dll
Test/Test/bin/Debug/Test.DALFactory.dll
Test/Test/bin/Debug/Test.DAL.pdb
Test/Test/bin/Debug/Test.BLL.pdb
Test/Test/bin/Debug/Test.Models.pdb
Test/Test/bin/Debug/Test.IDAL.pdb
Test/Test/bin/Debug/Test.DALFactory.pdb
Test/Test/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
Test/Test/obj/Debug/Test.LoginForm.resources
Test/Test/obj/Debug/Test.Properties.Resources.resources
Test/Test/obj/Debug/Test.exe
Test/Test/obj/Debug/Test.pdb
Test/Test/obj/Debug/ResolveAssemblyReference.cache
Test/Test/obj/Debug/Test.csproj.GenerateResource.Cache
Test/Test/obj/Test.csproj.FileList.txt
Test/Test/LoginForm.resx
Test/Test/LoginForm.cs
Test/Test/App.config
Test/Test/Resourse/login.jpg
Test/Test/Resourse/User.ico
Test/Test.sln
Test/Test.suo
Test/TestModels/Properties/AssemblyInfo.cs
Test/TestModels/TestModels.csproj
Test/TestModels/bin/Debug/Test.Models.dll
Test/TestModels/bin/Debug/Test.Models.pdb
Test/TestModels/obj/Debug/Refactor/Test.Models.dll
Test/TestModels/obj/Debug/Test.Models.pdb
Test/TestModels/obj/Debug/Test.Models.dll
Test/TestModels/obj/TestModels.csproj.FileList.txt
Test/TestModels/Users.cs
Test/TestIDAL/Properties/AssemblyInfo.cs
Test/TestIDAL/TestIDAL.csproj
Test/TestIDAL/bin/Debug/Test.Models.dll
Test/TestIDAL/bin/Debug/Test.Models.pdb
Test/TestIDAL/bin/Debug/Test.IDAL.dll
Test/TestIDAL/bin/Debug/Test.IDAL.pdb
Test/TestIDAL/obj/Debug/Refactor/Test.IDAL.dll
Test/TestIDAL/obj/Debug/Test.IDAL.pdb
Test/TestIDAL/obj/Debug/Test.IDAL.dll
Test/TestIDAL/obj/Debug/ResolveAssemblyReference.cache
Test/TestIDAL/obj/TestIDAL.csproj.FileList.txt
Test/TestIDAL/IUsersService.cs
Test/TestDAL/Properties/AssemblyInfo.cs
Test/TestDAL/TestDAL.csproj
Test/TestDAL/bin/Debug/Test.IDAL.dll
Test/TestDAL/bin/Debug/Test.Models.dll
Test/TestDAL/bin/Debug/Test.IDAL.pdb
Test/TestDAL/bin/Debug/Test.Models.pdb
Test/TestDAL/bin/Debug/Test.DAL.dll
Test/TestDAL/bin/Debug/Test.DAL.pdb
Test/TestDAL/obj/Debug/Refactor/Test.DAL.dll
Test/TestDAL/obj/Debug/Test.DAL.pdb
Test/TestDAL/obj/Debug/Test.DAL.dll
Test/TestDAL/obj/Debug/ResolveAssemblyReference.cache
Test/TestDAL/obj/TestDAL.csproj.FileList.txt
Test/TestDAL/Access/UsersService.cs
Test/TestDAL/SqlServer/UsersService.cs
Test/TestBLL/Properties/AssemblyInfo.cs
Test/TestBLL/TestBLL.csproj
Test/TestBLL/bin/Debug/Test.BLL.dll
Test/TestBLL/bin/Debug/Test.BLL.pdb
Test/TestBLL/bin/Debug/Test.DAL.dll
Test/TestBLL/bin/Debug/Test.DALFactory.dll
Test/TestBLL/bin/Debug/Test.IDAL.dll
Test/TestBLL/bin/Debug/Test.Models.dll
Test/TestBLL/bin/Debug/Test.DAL.pdb
Test/TestBLL/bin/Debug/Test.Models.pdb
Test/TestBLL/bin/Debug/Test.IDAL.pdb
Test/TestBLL/bin/Debug/Test.DALFactory.pdb
Test/TestBLL/obj/Debug/Refactor/Test.BLL.dll
Test/TestBLL/obj/Debug/Test.BLL.pdb
Test/TestBLL/obj/Debug/Test.BLL.dll
Test/TestBLL/obj/Debug/ResolveAssemblyReference.cache
Test/TestBLL/obj/TestBLL.csproj.FileList.txt
Test/TestBLL/UsersManager.cs
Test/TestDALFactory/Properties/AssemblyInfo.cs
Test/TestDALFactory/TestDALFactory.csproj
Test/TestDALFactory/bin/Debug/Test.DAL.dll
Test/TestDALFactory/bin/Debug/Test.Models.dll
Test/TestDALFactory/bin/Debug/Test.IDAL.dll
Test/TestDALFactory/bin/Debug/Test.IDAL.pdb
Test/TestDALFactory/bin/Debug/Test.DAL.pdb
Test/TestDALFactory/bin/Debug/Test.Models.pdb
Test/TestDALFactory/bin/Debug/Test.DALFactory.dll
Test/TestDALFactory/bin/Debug/Test.DALFactory.pdb
Test/TestDALFactory/obj/Debug/Refactor/Test.DALFactory.dll
Test/TestDALFactory/obj/Debug/Test.DALFactory.pdb
Test/TestDALFactory/obj/Debug/Test.DALFactory.dll
Test/TestDALFactory/obj/Debug/ResolveAssemblyReference.cache
Test/TestDALFactory/obj/TestDALFactory.csproj.FileList.txt
Test/TestDALFactory/AccessDALFactory.cs
Test/TestDALFactory/SqlDALFactory.cs
Test/TestDALFactory/AbstractDALFactory.cs
Test/Test/obj/Debug/TempPE
Test/Test/obj/Debug/Refactor
Test/TestModels/obj/Debug/Refactor
Test/TestModels/obj/Debug/TempPE
Test/TestIDAL/obj/Debug/Refactor
Test/TestIDAL/obj/Debug/TempPE
Test/TestDAL/obj/Debug/Refactor
Test/TestDAL/obj/Debug/TempPE
Test/TestBLL/obj/Debug/Refactor
Test/TestBLL/obj/Debug/TempPE
Test/TestDALFactory/obj/Debug/Refactor
Test/TestDALFactory/obj/Debug/TempPE
Test/Test/bin/Debug
Test/Test/obj/Debug
Test/TestModels/bin/Debug
Test/TestModels/obj/Debug
Test/TestIDAL/bin/Debug
Test/TestIDAL/obj/Debug
Test/TestDAL/bin/Debug
Test/TestDAL/obj/Debug
Test/TestBLL/bin/Debug
Test/TestBLL/obj/Debug
Test/TestDALFactory/bin/Debug
Test/TestDALFactory/obj/Debug
Test/Test/Properties
Test/Test/bin
Test/Test/obj
Test/Test/Resourse
Test/TestModels/Properties
Test/TestModels/bin
Test/TestModels/obj
Test/Test/Properties/AssemblyInfo.cs
Test/Test/Properties/Resources.Designer.cs
Test/Test/Properties/Settings.Designer.cs
Test/Test/Properties/Resources.resx
Test/Test/LoginForm.Designer.cs
Test/Test/Program.cs
Test/Test/Test.csproj
Test/Test/bin/Debug/Test.vshost.exe
Test/Test/bin/Debug/Test.exe
Test/Test/bin/Debug/Test.pdb
Test/Test/bin/Debug/Test.exe.config
Test/Test/bin/Debug/Test.vshost.exe.config
Test/Test/bin/Debug/Test.BLL.dll
Test/Test/bin/Debug/Test.Models.dll
Test/Test/bin/Debug/Test.DAL.dll
Test/Test/bin/Debug/Test.IDAL.dll
Test/Test/bin/Debug/Test.DALFactory.dll
Test/Test/bin/Debug/Test.DAL.pdb
Test/Test/bin/Debug/Test.BLL.pdb
Test/Test/bin/Debug/Test.Models.pdb
Test/Test/bin/Debug/Test.IDAL.pdb
Test/Test/bin/Debug/Test.DALFactory.pdb
Test/Test/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
Test/Test/obj/Debug/Test.LoginForm.resources
Test/Test/obj/Debug/Test.Properties.Resources.resources
Test/Test/obj/Debug/Test.exe
Test/Test/obj/Debug/Test.pdb
Test/Test/obj/Debug/ResolveAssemblyReference.cache
Test/Test/obj/Debug/Test.csproj.GenerateResource.Cache
Test/Test/obj/Test.csproj.FileList.txt
Test/Test/LoginForm.resx
Test/Test/LoginForm.cs
Test/Test/App.config
Test/Test/Resourse/login.jpg
Test/Test/Resourse/User.ico
Test/Test.sln
Test/Test.suo
Test/TestModels/Properties/AssemblyInfo.cs
Test/TestModels/TestModels.csproj
Test/TestModels/bin/Debug/Test.Models.dll
Test/TestModels/bin/Debug/Test.Models.pdb
Test/TestModels/obj/Debug/Refactor/Test.Models.dll
Test/TestModels/obj/Debug/Test.Models.pdb
Test/TestModels/obj/Debug/Test.Models.dll
Test/TestModels/obj/TestModels.csproj.FileList.txt
Test/TestModels/Users.cs
Test/TestIDAL/Properties/AssemblyInfo.cs
Test/TestIDAL/TestIDAL.csproj
Test/TestIDAL/bin/Debug/Test.Models.dll
Test/TestIDAL/bin/Debug/Test.Models.pdb
Test/TestIDAL/bin/Debug/Test.IDAL.dll
Test/TestIDAL/bin/Debug/Test.IDAL.pdb
Test/TestIDAL/obj/Debug/Refactor/Test.IDAL.dll
Test/TestIDAL/obj/Debug/Test.IDAL.pdb
Test/TestIDAL/obj/Debug/Test.IDAL.dll
Test/TestIDAL/obj/Debug/ResolveAssemblyReference.cache
Test/TestIDAL/obj/TestIDAL.csproj.FileList.txt
Test/TestIDAL/IUsersService.cs
Test/TestDAL/Properties/AssemblyInfo.cs
Test/TestDAL/TestDAL.csproj
Test/TestDAL/bin/Debug/Test.IDAL.dll
Test/TestDAL/bin/Debug/Test.Models.dll
Test/TestDAL/bin/Debug/Test.IDAL.pdb
Test/TestDAL/bin/Debug/Test.Models.pdb
Test/TestDAL/bin/Debug/Test.DAL.dll
Test/TestDAL/bin/Debug/Test.DAL.pdb
Test/TestDAL/obj/Debug/Refactor/Test.DAL.dll
Test/TestDAL/obj/Debug/Test.DAL.pdb
Test/TestDAL/obj/Debug/Test.DAL.dll
Test/TestDAL/obj/Debug/ResolveAssemblyReference.cache
Test/TestDAL/obj/TestDAL.csproj.FileList.txt
Test/TestDAL/Access/UsersService.cs
Test/TestDAL/SqlServer/UsersService.cs
Test/TestBLL/Properties/AssemblyInfo.cs
Test/TestBLL/TestBLL.csproj
Test/TestBLL/bin/Debug/Test.BLL.dll
Test/TestBLL/bin/Debug/Test.BLL.pdb
Test/TestBLL/bin/Debug/Test.DAL.dll
Test/TestBLL/bin/Debug/Test.DALFactory.dll
Test/TestBLL/bin/Debug/Test.IDAL.dll
Test/TestBLL/bin/Debug/Test.Models.dll
Test/TestBLL/bin/Debug/Test.DAL.pdb
Test/TestBLL/bin/Debug/Test.Models.pdb
Test/TestBLL/bin/Debug/Test.IDAL.pdb
Test/TestBLL/bin/Debug/Test.DALFactory.pdb
Test/TestBLL/obj/Debug/Refactor/Test.BLL.dll
Test/TestBLL/obj/Debug/Test.BLL.pdb
Test/TestBLL/obj/Debug/Test.BLL.dll
Test/TestBLL/obj/Debug/ResolveAssemblyReference.cache
Test/TestBLL/obj/TestBLL.csproj.FileList.txt
Test/TestBLL/UsersManager.cs
Test/TestDALFactory/Properties/AssemblyInfo.cs
Test/TestDALFactory/TestDALFactory.csproj
Test/TestDALFactory/bin/Debug/Test.DAL.dll
Test/TestDALFactory/bin/Debug/Test.Models.dll
Test/TestDALFactory/bin/Debug/Test.IDAL.dll
Test/TestDALFactory/bin/Debug/Test.IDAL.pdb
Test/TestDALFactory/bin/Debug/Test.DAL.pdb
Test/TestDALFactory/bin/Debug/Test.Models.pdb
Test/TestDALFactory/bin/Debug/Test.DALFactory.dll
Test/TestDALFactory/bin/Debug/Test.DALFactory.pdb
Test/TestDALFactory/obj/Debug/Refactor/Test.DALFactory.dll
Test/TestDALFactory/obj/Debug/Test.DALFactory.pdb
Test/TestDALFactory/obj/Debug/Test.DALFactory.dll
Test/TestDALFactory/obj/Debug/ResolveAssemblyReference.cache
Test/TestDALFactory/obj/TestDALFactory.csproj.FileList.txt
Test/TestDALFactory/AccessDALFactory.cs
Test/TestDALFactory/SqlDALFactory.cs
Test/TestDALFactory/AbstractDALFactory.cs
Test/Test/obj/Debug/TempPE
Test/Test/obj/Debug/Refactor
Test/TestModels/obj/Debug/Refactor
Test/TestModels/obj/Debug/TempPE
Test/TestIDAL/obj/Debug/Refactor
Test/TestIDAL/obj/Debug/TempPE
Test/TestDAL/obj/Debug/Refactor
Test/TestDAL/obj/Debug/TempPE
Test/TestBLL/obj/Debug/Refactor
Test/TestBLL/obj/Debug/TempPE
Test/TestDALFactory/obj/Debug/Refactor
Test/TestDALFactory/obj/Debug/TempPE
Test/Test/bin/Debug
Test/Test/obj/Debug
Test/TestModels/bin/Debug
Test/TestModels/obj/Debug
Test/TestIDAL/bin/Debug
Test/TestIDAL/obj/Debug
Test/TestDAL/bin/Debug
Test/TestDAL/obj/Debug
Test/TestBLL/bin/Debug
Test/TestBLL/obj/Debug
Test/TestDALFactory/bin/Debug
Test/TestDALFactory/obj/Debug
Test/Test/Properties
Test/Test/bin
Test/Test/obj
Test/Test/Resourse
Test/TestModels/Properties
Test/TestModels/bin
Test/TestModels/obj
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.