How to use a datatable as a data source ?
Hi,
I must be missing something.
I would like to populate my grid control (windows application) by using a datatable.
I looked at the samples and searched the KB and forum and I know that I can use this row:
this.gridControl1.Model.PopulateValues
(GridRangeInfo.Cells(1,1, numberofrows, numberofcolumns), dt);
But I lost all the style information, mainly the columns names.
I’l looking for something like :
Gridcontrol.Model.DataSource = dt ;
Where this option is hiding ?
Thanks
Amit
WindowsApplication48.zip