Content deleted Content added
m →ASP example: lang=vb<-asp |
|||
Line 67:
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".
<source lang=
dim myconnection, myrecordset, name
set myconnection = server.createobject("ADODB.Connection")
Line 83:
This is equivalent to the following ASP code, which uses plain SQL instead of the functionality of the Recordset object:
<source lang=
dim myconnection, myrecordset, name
set myconnection = server.createobject("ADODB.connection")
|