VB Prodigy Tutorial (cont.)--vb ADO Object

Source: Internet
Author: User

This article welcomes the non-commercial use of reprint, but need to indicate from the "Programming Network" and the corresponding URL link.

Introduction to ADO

Resources:

Introduction to ADO: Http://bianceng.cn/VBjc/sjcz/sj2.htm

ADO Object Model: http://bianceng.cn/Programming/VB_NET/200705/1201.htm

ADO is another API for developing access to OLE DB data source applications. There are a variety of programming languages that support ADO, such as vb,vc++,vj++. ADO provides a more advanced and understandable mechanism for accessing OLE DB data sources, combining the advantages of DAO and RDO. and provides a portal for OLE DB data sources. OLE DB is a database architecture that provides a common data synthesis capability for corporate networks (from mainframe to desktop data, regardless of the specific type of data), and OLE DB is more universal and efficient in data channels than ODBC. This is because it allows for more data types to be contacted based on COM and because ADO is designed specifically for developing client/server programs. The following illustration is the structure of a typical ADO application.

The characteristics of ADO are as follows:

▲ supports batch updates. That is, buffering the updated records and transferring them to the server synchronously.

▲ supports all types of cursors. Includes only forward type, critical value type and dynamic and static type.

▲ supports server-side stored procedures. These processes can greatly improve the versatility of your application.

▲ supports queries that return more than one recordset.

▲ Support the purpose of the query. This includes restricting the number of records returned, activating the filtering and pre statement of the returned records.

ADO is made up of the following objects: Command,connect,error,field,parameter and recordsets. The following figure shows the hierarchical structure of the ADO object. All ADO objects except the error and field can be created individually, while the Command,error and parameter objects are optional.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.