Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

ADO 简介


ADO 可用于从网页访问数据库。


您应该已了解的知识

在继续学习之前,您应该对以下内容有基本的了解

  • HTML
  • ASP
  • SQL

如果您想先学习这些主题,请访问我们的 首页


什么是 ADO?

  • ADO 是一种微软技术
  • ADO 代表 **A**ctiveX **D**ata **O**bjects
  • ADO 是一个微软 ActiveX 组件
  • ADO 会随 Microsoft IIS 自动安装
  • ADO 是一个访问数据库中数据的编程接口

从 ASP 页面访问数据库

从 ASP 页面内部访问数据库的常用方法是

  1. 创建一个到数据库的 ADO 连接
  2. 打开数据库连接
  3. 创建一个 ADO 记录集
  4. 打开记录集
  5. 从记录集中提取您需要的数据
  6. 关闭记录集
  7. 关闭连接

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.