Client Interfaces Guide > Connecting to TDV Server through ADO.NET > Sample Code for Testing of an ADO.NET Driver
 
Sample Code for Testing of an ADO.NET Driver
The examples in this section describe various way to write code to consume TDV resources through an ADO.NET connection interface. This sample code was developed and tested on a Microsoft Windows XP Professional platform, using Microsoft Visual Studio and TDV.
Create a CompositeConnection Object
Create a CompositeCommand Object
Select Data from a TDV Published Resource
Getting the Column Type
Getting Column Metadata
Using an Update Operation in the Sample Code
About Using Parameters
Invoking a Stored Procedure Example
Example with Special Data Types
Retrieving Metadata
Retrieving Tables with a Named Schema