首页 | 本学科首页   官方微博 | 高级检索  
     

数据库访问技术的研究
引用本文:桑国珍. 数据库访问技术的研究[J]. 现代电子技术, 2010, 33(20): 82-83
作者姓名:桑国珍
作者单位:渭南师范学院计算机科学系,陕西渭南714000
基金项目:渭南师范学院科研计划项目
摘    要:基于连接和非连接的两种模式对数据库访问进行分析,通过使用ADO.NET中的4个核心组件,介绍了利用AD0.NET技术访问数据库的基本方式。以访问SQLServer数据库为例,C#为编程语言,给出了AD0.NET访问数据库的方法、步骤及相应的核心代码。研究表明,选择合适的数据库访问模式以发挥出ADO.NET的最佳性能,可提升应用程序的性能。

关 键 词:ADO.NET  数据库访问技术  对象  C#

Research of Database Access Technology
SANG Guo-zhen. Research of Database Access Technology[J]. Modern Electronic Technique, 2010, 33(20): 82-83
Authors:SANG Guo-zhen
Affiliation:SANG Guo-zhen (Department of Computer Science, Weinan Teachers University, Weinan 714000, China)
Abstract:As a communication bridge between the NET application program and the database, ADO. NET is one kind of new database access mechanism. The database access is analyzed on the basis of connection and the non-connection modes. The basic method of database access is introduced through application of four core components of ADO. NET. Taking the access of SQL Server database as an example and C# as a programming language, the method, procedures and corresponding core codes of accessing a database through ADO. NET are offered. The research shows that the selection of the right database access method can give play to the best performance of ADO. NET and optimize the program performance.
Keywords:ADO. NET  database access technology  object  C#
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号