Download OLE DB User's Guide
Transcript
Contents Contents 1 Introduction .................................................................1-2 2 Supported Data Types ................................................2-1 3 COM Object Definitions ..............................................3-1 3.1 3.2 3.3 3.4 Data Source..................................................................................................... 3-1 Sessions .......................................................................................................... 3-1 Commands ...................................................................................................... 3-2 Rowsets ........................................................................................................... 3-3 4 Interfaces (OLE DB) ....................................................4-1 4.1 OLE DB Provider for DBMaker Supported Interfaces ...................................... 4-1 5 How to Create an OLE DB Application......................5-1 5.1 5.2 5.3 Establishing a New Connection to a Data Source ........................................... 5-1 Executing a Command via OLE DB Driver ...................................................... 5-2 Processing the Returned Results .................................................................... 5-2 6 Samples........................................................................6-1 6.1 6.2 6.3 OLE DB Consumer Application Microsoft Visal C++ Examples ....................... 6-1 ADO Code Examples in Microsoft Visual Basic ............................................. 6-14 ADO.NET Code Examples in Visual C#......................................................... 6-16 ©Copyright 1995-2008 CASEMaker Inc. i