D
David
I am loading a datagrid from a dataeset,
this.dataGrid.SetDataBinding(ds_hold,"table");, and I need to get the
GridColumnStyles for the default datasource so that I can format one
of the
fields. I defined a DataGridTableStyle to load to add to the grid,
but I
can not see how to copy the dataset's GridColumnStyles to the
DataGridTableStyle before I add it to the datagrid. The MS help is
very
vague on this point.
Also, how does one match up the col. types with the col. names, so
that one
can find the col. to format when it may change in order?
this.dataGrid.SetDataBinding(ds_hold,"table");, and I need to get the
GridColumnStyles for the default datasource so that I can format one
of the
fields. I defined a DataGridTableStyle to load to add to the grid,
but I
can not see how to copy the dataset's GridColumnStyles to the
DataGridTableStyle before I add it to the datagrid. The MS help is
very
vague on this point.
Also, how does one match up the col. types with the col. names, so
that one
can find the col. to format when it may change in order?