AccessDBUtilDemo

所属分类:C#编程
开发工具:Others
文件大小:191KB
下载次数:46
上传日期:2008-11-02 15:49:55
上 传 者chenshuqi24
说明:  本文介绍C#访问操作Access数据库的基础知识,并提供一个相关的例程。 本例程演示了: 1.Access数据库的插入,更新,修改,查询; 2.带参数的sql语句的使用,而不是拼SQL; 3.使用DataReader的分页查询,而不是用嵌套的SQL语句来分页; 4.用事务同时执行多个SQL语句; 5.在插入数据的同时返回最新的ID值; 6.整型,实型,字符串,日期型,布尔型五种数据类型的操作; 7.使用正则表达式来验证整数和实数; 8.listview用来显示数据的一些基本用法。
(This article describes the C# Visit to the operation of the basic knowledge of Access databases, and to provide a relevant routines. Demonstrated the routine: 1.Access database insert, update, modify, query 2. The sql statement with parameter use, rather than fight SQL 3. Use DataReader paging query, rather than using nested SQL statement to paging 4. with affairs at the same time to run multiple SQL statement 5. Insert data at the same time to return to the latest ID value 6. integer, real, string, date, type, five Boolean data type operations 7. to use regular expressions to validate integer and real numbers 8.listview data used to display some of the basic usage.)

文件列表:
AccessDBUtilDemo\AccessDBUtil.cs (6455, 2008-01-04)
AccessDBUtilDemo\AccessDBUtilDemo.csproj (2175, 2008-01-04)
AccessDBUtilDemo\AccessDBUtilDemo.sln (850, 2007-12-17)
AccessDBUtilDemo\AccessPageUtil.cs (1583, 2008-01-04)
AccessDBUtilDemo\AssemblyInfo.cs (1097, 2007-12-17)
AccessDBUtilDemo\MainForm.cs (7395, 2008-01-04)
AccessDBUtilDemo\MainForm.Designer.cs (14122, 2008-01-04)
AccessDBUtilDemo\MainForm.resx (5817, 2008-01-04)
AccessDBUtilDemo\obj\AccessDBUtilDemo.csproj.FileList.txt (275, 2008-01-04)
AccessDBUtilDemo\obj\AccessDBUtilDemo.csproj.FileListAbsolute.txt (832, 2008-01-04)
AccessDBUtilDemo\Page.cs (984, 2008-01-04)
AccessDBUtilDemo\PageQueryDao.cs (1757, 2008-01-04)
AccessDBUtilDemo\Product.cs (863, 2007-12-25)
AccessDBUtilDemo\ProductDao.cs (3164, 2008-01-04)
AccessDBUtilDemo\Program.cs (636, 2007-12-17)
AccessDBUtilDemo\Validator.cs (764, 2008-01-04)
AccessDBUtilDemo\bin\Debug (0, 2008-01-04)
AccessDBUtilDemo\bin\Release (0, 2008-01-04)
AccessDBUtilDemo\obj\Debug (0, 2008-01-04)
AccessDBUtilDemo\obj\Release (0, 2008-01-04)
AccessDBUtilDemo\bin (0, 2008-01-04)
AccessDBUtilDemo\obj (0, 2008-01-04)
AccessDBUtilDemo (0, 2008-01-04)

本程序使用SharpDevelop开发,在.net framework 2.0下编译运行通过。 你可以将此程序的代码以任意方式用于任何用途而不需要向作者支付报酬, 这意味着你清楚所用代码的功能并对此负责。 Albert Song(http://www.albertsong.com) 2008-1-4

近期下载者

相关文件


收藏者