Content deleted Content added
Lots of changes |
|||
Line 1:
Microsoft '''
It is positioned as a successor to Microsoft's earlier object layers for accessing data sources, including [[Remote Data Objects|RDO]] (Remote Data Objects) and [[Data Access Objects|DAO]] (Data Access Objects). ADO was introduced by [[Microsoft]] in the winter of [[1996]].
ADO consists of several top-level objects:
Line 15:
*Property (stores information about objects)
The ADO
In the newer programming framework of .NET, [[Microsoft]] also presented an upgraded version of ADO called [[ADO.NET]]. Its object structure is quite different from that of traditional ADO. Traditional ADO is still very popular, and is often perceived as being more mature.
Line 24:
set myconnection = server.createobject("ADODB.Connection")
set myrecordset = server.createobject("ADODB.Recordset")
myrecordset.open "Phonebook", myconnection
myrecordset.find "PhoneNumber = '555-5555'"
Line 33:
set myrecordset = nothing
set myconnection = nothing
This is equivalent to the following ASP code, which uses plain SQL
dim myconnection, myrecordset, name
|