Welcome![Sign In][Sign Up]
Location:
Search - accessDBUtilDe

Search list

[CSharpAccessDBUtilDemo

Description: 本文介绍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.
Platform: | Size: 195584 | Author: 陈述器 | Hits:

CodeBus www.codebus.net