论文翻译,求救

来源:百度知道 编辑:UC知道 时间:2024/05/13 03:49:53
3.2 数据库接口程序设计
数据库接口程序设计的关键是通过ActiveX服务器组件ADO及包含的对象,实现对数据源的读写,用户可在浏览器画面中检索、输入、更新和删除数据库信息,从而建立提供数据库信息的主页内容。ADO主要提供了七个对象和四个集合来完成对于数据库的管理,包括:Connection、Command、Parameter、Recordset、Field、Property、Error以及Fields、Properties、Parameters、Errors。
3.2.1 定义数据源
在WEB服务器上打开“控制面板”,选中“ODBC”,在“系统DSN”下选“添加”,选定你希望的数据库种类、名称、位置等。本文定义“SQL SERVER”,数据源为“HT”,数据库名称为“HTDATA”,脚本语言采用Jscript。
3.2.2 创建数据库链接(Connection)
创建数据库链接(Connection)。通过服务器对象的CreateObject方法,可以创建Connection对象和使用变量接受对象引用。一旦连接对象创建之后,它就可用来打开到任何ODBC数据源的连接。
3.2.3 创建数据对象(Recordset)
创建数据对象(Recordset)。
3.2.4 操作数据库
(1)首先要定义SQL查询语句:
(2)然后执行该查询命令,
(3)最后指定要执行的SQL命令
4 数据库检索代码
基于ASP技术开发的Web数据库检索程序,是利用数据库检索系统网络结构和开发工具,将多个数据库集成在一个平台上,来实现多数据库的检索,从而提高数据库的检索效率。
5 总 结
5.1 Web服务的应用越来越广,其数据索引也随之有增无减。同时,在编写Web数据库检索代码时,既要考虑其安全性,又要确保应用的高质量,致使及时开发相应的数据库检索程序越来越迫切。
5.2 ASP技术是中小型自主开发网上数据库服务系统工具。本文从Web网上数据库检索系统的设计出发,探讨了如何利用ASP技术进行有效的网上数据库检索系统的开发利用,具有较强的现实意义。

3.2 Database Interface Program Design
Database interface program design, the key is through ADO and ActiveX server component contains the object of implementation of the data source to read and write, the user can screen in the browser to retrieve, enter, update and delete database information in order to set up the database information to provide the Home Page内容. ADO provides the seven major and four collection objects to achieve for database management, including: Connection, Command, Parameter, Recordset, Field, Property, Error, and Fields,Properties、Parameters、Errors。
3.2.1 the definition of data sources
At WEB server open the "Control Panel", select "ODBC", in "System DSN" election under the "Add", selected the database you want to type, name, location and so on. In this paper, the definition of "SQL SERVER", the data source for the "HT", the database name is "HTDATA", the use of scripting lan