摘要
针对嵌入式平台下数据库应用日益广泛的实际,建立在嵌入式操作系统背景下的简单、高效、实用的数据库访问方法成为必要。在此主要对在Windows CE.Net平台下如何利用ADOCE技术访问SQL Server CE 2.0数据库进行了讨论,其中重点阐述了数据库连接的建立和怎样通过SQL语句对数据库进行各式访问操作,最后给出了运用ADOCE技术访问SQL Server CE 2.0数据库的程序运行实例,结果表明这种方法满足对嵌入式数据库的访问需求。
According to the status quo that the embedded database is widely used,it is necessary to establish a simple,ef-ficient and practical database access method under the background of embedded operating system. This paper mainly discusses how to utilize ADOCE technology to access SQL Server CE 2.0 database in Windows CE.Net platform,in which emphatically elaborates the establishment of database connection and how to access database by SQL-command. A programme running in-stance of accessing SQL Server CE 2.0 database by ADOCE technology is given. The results show that this method meets the de-mand of accessing the embedded database.
出处
《现代电子技术》
2013年第20期71-73,78,共4页
Modern Electronics Technique
基金
水声对抗技术国防科技重点实验室基金项目资助(2011ssdkzd03.02)