当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO介绍

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO 中的 ADO介绍


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 950 ::
收藏到网摘: n/a

ADO can be used to access databases from your web pages.
ADO可用来将数据库里的内容读取到你的WEB页面上


What you should already know
所应该具备的学习条件

Before you continue you should have a basic understanding of the following:
在学习此块内容前你最好有下面这些知识的基础:

  • WWW, HTML and the basics of building Web pages
    WWW基础知识,HTML以及基本的WEB页建设能力
  • Active Server Pages (ASP)
    动态服务页(ASP)
  • Structured Query Language (SQL)
    language used in databases for defining searches, SQL[用于定义搜索数据库的语言]

What is ADO?
什么是ADO

  • ADO is a Microsoft technology
    微软开发的技术
  • ADO stands for ActiveX Data Objects
    ADO 拆开来解释就是 ActiveX Data Objects [activex, 微软 (Microsoft) 公司的程序作业环境, 包括大量独立的程序 (部件) 用来操作或联接电脑或网络中的应用程序
  • ADO is a Microsoft Active-X component
    ADO是一个微软Active-X组件
  • ADO is automatically installed with Microsoft IIS
    安装IIS的时候会自动安装进ADO
  • ADO is a programming interface to access data in a database
    ADO是使用数据库中数据的一种接口程序

Accessing a Database from an ASP Page
利用ASP页面来使用数据库

The common way to access a database from inside an ASP page is to:
通常在ASP页面中使用数据库的办法为:

  1. Create an ADO connection to a database
    建立连接到数据库的ADO
  2. Open the database connection
    打开数据库连接
  3. Create an ADO recordset
    建立ADO记录集
  4. Open the recordset
    打开记录集
  5. Extract the data you need from the recordset
    从数据集中提取你所需要的数据
  6. Close the recordset
    关闭记录集
  7. Close the connection
    关闭连接

评论 (0) All

登陆 | 还没注册?