ActiveX Data Objects: Difference between revisions

Content deleted Content added
Gymate (talk | contribs)
See also: Add wikilink to ActiveX
 
(5 intermediate revisions by 5 users not shown)
Line 68:
=== ASP example ===
 
Here is an [[Active Server Pages|ASP]] example using ADO to select the "Name" field, from a table called "Phonebook", where a "PhoneNumber" was equal to "555-5555".
 
<syntaxhighlight lang=vb"vbscript">
dim myconnection, myrecordset, name
set myconnection = server.createobject("ADODB.Connection")
Line 86:
 
This is equivalent to the following ASP code, which uses plain SQL instead of the functionality of the Recordset object:
<syntaxhighlight lang=vb"vbscript">
dim myconnection, myrecordset, name
set myconnection = server.createobject("ADODB.connection")
Line 103:
* [[ADO.NET]]
* [[Comparison of ADO and ADO.NET]]
* [[ActiveX]]
* [[MSDAIPP]]
 
==References==
Line 113 ⟶ 115:
 
{{Microsoft APIs}}
{{Authority control}}
 
{{DEFAULTSORT:Activex Data Objects}}