Setting the grid style with dataset created in xml designer

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hi,

If I create a dataset and add its tables in the xml designer, how can I
control the column styles? I would like the grid to use DataGridColumnStyle.


Thanks,
Ronen
 
Hi,

DataSets can not and should not govern how they are presented to the user.
You should customize the DataGrid's properties to achieve the desired look
and feel. In particular, as far as I remember, the grid has the GridLines
property which enables or disables display of the grid lines. You can also
try the DataGridTableStyle class to fine tune the appearance of a particular
table in the DataSet.
 
Back
Top