Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
20Activity
0 of .
Results for:
No results containing your search query
P. 1
Scripting Qtp - Ch08 - Adob

Scripting Qtp - Ch08 - Adob

Ratings:

4.2

(5)
|Views: 1,870 |Likes:
Published by Rajesh Kumar

More info:

Categories:Types, Research
Published by: Rajesh Kumar on Jul 08, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/25/2012

pdf

text

original

 
1
ADODB - MICROSOFT ACTIVEX DATA OBJECT ...........................................................2
 
A
CTIVE
X
 
D
ATA
O
BJECTS
......................................................................................................2
 
ADO.................................................................................................................................2
 
ADO
 
DM..........................................................................................................................3
 
RDS.................................................................................................................................3
 
ADOX..............................................................................................................................3
 
W
HERE IS THE DOCUMENTATION THAT COMES WITH
ADO?...............................................3
 
W
HERE CAN
I
FIND
ADO
CONSTANTS DEFINITIONS
?............................................................4
 
S
OLUTIONS FOR 
L
OCAL
D
ATA
A
CCESS
.................................................................................4
 
T
HE
ADODB
 
O
BJECT
M
ODEL
...............................................................................................5
 
ADO
 
O
BJECT
M
ODEL
S
UMMARY
......................................................................................5
 
OLE
 
DB.................................................................................................................................6
 
ODBC....................................................................................................................................7
 
ADODB.C
ONNECTION
O
BJECT
.............................................................................................7
 
W
HAT
I
S A
C
ONNECTION
O
BJECT
?....................................................................................7
 
ADODB.C
ONNECTION
P
ROPERTIES AND
M
ETHODS
..........................................................8
 
ADODB
 
C
OMMAND
O
BJECT
............................................................................................... 20
 
ADODB
 
C
OMMAND OBJECT
,
 
P
ROPERTIES AND
M
ETHODS
...............................................20
 
ADODB
 
ECORD
O
BJECT
................................................................................................... 26
 
ADODB
 
ECORD OBJECT
,
 
P
ROPERTIES AND
M
ETHODS
..................................................27
 
ADODB
 
ECORDSET
O
BJECT
............................................................................................. 33
 
ADODB
 
ECORDSET OBJECT
,
 
P
ROPERTIES AND
M
ETHODS
.............................................34
 
ADODB
 
S
TREAM
O
BJECT
................................................................................................... 59
 
ADODB
 
S
TREAM OBJECT
,
 
P
ROPERTIES AND
M
ETHODS
...................................................60
 
ADODB
 
E
RRORS
C
OLLECTION
O
BJECT
............................................................................. 69
 
ADODB
 
E
RRORS
P
ROPERTIES AND
M
ETHODS
................................................................69
 
ADODB
 
E
RROR 
O
BJECT
..................................................................................................... 71
 
ADODB
 
E
RROR OBJECT
P
ROPERTIES
..............................................................................71
 
ADODB
 
F
IELDS
C
OLLECTION
O
BJECT
............................................................................... 74
 
ADODB
 
F
IELDS COLLECTION
,
 
P
ROPERTIES AND
M
ETHODS
.............................................75
 
ADODB
 
F
IELD
O
BJECT
....................................................................................................... 78
 
ADODB
 
F
IELD
,
 
P
ROPERTIES AND
M
ETHODS
...................................................................78
 
ADODB
 
P
ARAMETERS
C
OLLECTION
O
BJECT
.................................................................... 83
 
ADODB
 
P
ARAMETERS COLLECTION
,
 
P
ROPERTIES AND
M
ETHODS
..................................84
 
ADODB
 
P
ARAMETER 
O
BJECT
............................................................................................ 85
 
ADODB
 
P
ARAMETER 
O
BJECT
,
 
P
ROPERTIES AND
M
ETHODS
............................................86
 
ADODB
 
P
ROPERTIES
C
OLLECTION
O
BJECT
...................................................................... 89
 
ADODB
 
P
ROPERTIES COLLECTION
,
 
P
ROPERTIES AND
M
ETHODS
.....................................89
 
ADODB
 
P
ROPERTY
O
BJECT
............................................................................................... 90
 
ADODB
 
P
ROPERTY OBJECT
,
 
P
ROPERTIES
.......................................................................90
 
Q&A.................................................................................................................................... 91
 
ADODB
 
C
ONNECTION
U
SAGE
........................................................................................95
 
ADODB
 
C
ONNECTION
P
ROPERTIES
................................................................................97
 
H
OW
D
O
I
 
U
SE THE
C
ONNECTION
O
BJECT TO
C
ONNECT TO A
D
ATA
S
TORE
?...................98
 
H
OW
D
O
I
 
U
SE THE
C
ONNECTION
O
BJECT TO
E
XECUTE A
C
OMMAND
?............................99
 
H
OW TO CONNECT TO
Q
UICK 
T
EST DEMO
F
LIGHT
ESERVATION APPLICATION USING ACONNECTION STRING
?....................................................................................................100
 
H
OW TO
A
DD A
 N
EW
ECORD TO A
T
ABLE
?...................................................................101
 
 
2
H
OW TO
S
AVE A
ECORDSET IN
XML
FORMAT
?............................................................101
 
L
IST THE
T
OP X
ECORDS IN A
ECORDSET
....................................................................102
 
H
OW TO
S
EARCH FOR A
ECORD IN A
ECORDSET
?.......................................................103
 
L
IST THE
T
OP X
ECORDS IN A
ECORDSET
....................................................................104
 
H
OW TO
S
EARCH
ECORDS WITH
M
ULTIPLE
C
RITERIAS
?...............................................104
 
H
OW TO
C
REATE AND
D
ELETE A
DSN?..........................................................................105
 
H
OW
C
AN
I
 
G
ET A
L
IST OF THE
ODBC
 
D
RIVERS THAT ARE
I
 NSTALLED ON A
C
OMPUTER 
?......................................................................................................................................107
 
H
OW
C
AN
I
 
ETRIEVE A
L
IST OF THE
S
YSTEM
DSN
S ON A
C
OMPUTER 
?.........................107
 
A
PPENDIX
14.A
 
 – 
 
ADODB
 
C
ONSTANTS
..............................................................................107
 
ADODB
 
C
ONSTANTS
.....................................................................................................107
ADODB - Microsoft ActiveX Data Object
1
 
ActiveX Data Objects are a language-neutral object model that expose data raisedby an underlying OLE DB Provider. The most commonly used OLE DB Provider isthe OLE DB Provider for ODBC Drivers, which exposes ODBC Data sources to ADO.ADO is a Microsoft technology.ADO stands for
A
ctiveX
D
ata
O
bjects.ADO is a Microsoft
Active-X
componentADO is automatically installed with Microsoft
IIS
 ADO is a programming interface to access data in a databaseMicrosoft® ActiveX® Data Objects (
ADO
) enables your client applications toaccess and manipulate data from a variety of sources through an
OLE DB
 provider. Its primary benefits are ease of use, high speed, low memory overhead,and a small disk footprint.
ADO
supports key features for building client/serverand Web-based applications. Please see the Microsoft Web page for
ADO
ReleaseNotes at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/dasdkadooverview.asp
 
ActiveX Data ObjectsADO
Microsoft® ActiveX® Data Objects (ADO) enable your client applications to accessand manipulate data from a variety of sources through an OLE DB provider. Itsprimary benefits are ease of use, high speed, low memory overhead, and a smalldisk footprint. ADO supports key features for building client/server and Web-basedapplications.
1
http://www.devguru.com/technologies/ado
 
3
ADO DM
Microsoft ActiveX Data Objects (Multidimensional) (ADO MD) provides easy accessto multidimensional data from languages such as Microsoft Visual Basic®,Microsoft Visual C++®, and Microsoft Visual J++®. ADO MD extends MicrosoftActiveX Data Objects (ADO) to include objects specific to multidimensional data,such as the
CubeDef 
and
Cellset
objects. With ADO MD you can browsemultidimensional schema, query a cube, and retrieve the results.Like ADO, ADO MD uses an underlying OLE DB provider to gain access to data. Towork with ADO MD, the provider must be a multidimensional data provider (MDP)as defined by the OLE DB for OLAP specification. MDPs present data inmultidimensional views as opposed to tabular data providers (TDPs) that presentdata in tabular views. Refer to the documentation for your OLAP OLE DB providerfor more detailed information on the specific syntax and behaviors supported byyour provider.
RDS
Remote Data Service (RDS) is a feature of ADO, with which you can move datafrom a server to a client application or Web page, manipulate the data on theclient, and return updates to the server in a single round trip.
ADOX
Microsoft ActiveX Data Objects Extensions for Data Definition Language andSecurity (ADOX) is an extension to the ADO objects and programming model.ADOX includes objects for schema creation and modification, as well as security.Because it is an object-based approach to schema manipulation, you can writecode that will work against various data sources regardless of differences in theirnative syntaxes.ADOX is a companion library to the core ADO objects. It exposes additional objectsfor creating, modifying, and deleting schema objects, such as tables andprocedures. It also includes security objects to maintain users and groups and togrant and revoke permissions on objects.
Where is the documentation that comes with ADO?
The Help file for
ADO
already installed in your computer!Look in Windows\Help, file name is ADO210.chmThe documentation that comes with
ADO
is in html format and can be found bydownloading the MDAC Software Development Kit (SDK) from the preceding Website. Make sure to choose the Microsoft Data Access Components SDK Stand AloneSetup option when downloading MDAC 2.0, or the Microsoft Data AccessComponents SDK Update if downloading MDAC 2.1.

Activity (20)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Dharamjeet Singh liked this
rakeshsb liked this
anonxxxx liked this
Liza Sachdev liked this
deven_a76 liked this
Sujit Mahapatra liked this
kamal.bamrah4642 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->