Grid/spreadsheet control that binds to a System.Data.Dataset (multi-Datatable)and automagically crea

T

TR

I am looking for a control where I can do this:

TheControl.DataSource = MyDataSet

and then the control will automagically create a grid/spreadhsheet for
each Datatable in the MyDataset.Tables collection, and present a tabbed
interface something like Excel's Sheet1, Sheet2, Sheet3 bottom tabs.
The contents of each "sheet" would correspond to MyDataset.Tables(0),
MyDataSet.Tables(1), and so on.


The DataTables would have different schemas -- different column names,
datatypes, different number of columns.

Does such a control exist?

Thanks in advance.
 
M

Marc Greiner

Hi TR,

I am not aware of such a control that does implement a tab with a grid in each tab (all grids I know do bind to one table or list of objects).

However, with some third party controls, you can achieve this result with few effort and line of code.

Some grids can autogenerate the columns of the bound table and allow direct edition with the proper editor (date, text, numeric, etc.).

www.devexpress.com is one of them.

Regards,
 
Top