Other 1: Framework

<< Click to Display Table of Contents >>

Navigation:  Examples > Other samples >

Other 1: Framework

Previous pageReturn to chapter overviewNext page

The Ado Framework sample is an extended version of the standard framework sample that comes with X# 2.6

It has added an Ado method in the file menu, that allows you to open any OleDb connection:

Some of the things shown in the sample:

How to open the Driver Select dialog

How to query for the list of tables/views using the OpenSchema method

How to open an AdoServer

How to dynamically sort the results of a DataWindow



It then displays a window where you can select the table to browse:


And after you have selected the table, you can choose the cursor type, locktype etc to use when browsing the results:



The results are shown in a regular (Autolayout) datawindow:



There is a lot of code in this sample. We advise you to study and look yourself