Ken,
I have used the DataGrid's TablesStyles to create one TableStyles and used
GridColumnStyles to create the columns I want to display. When set the
MappingName of the GridColumnStyles, All the fields in table are shown in
the MappingName property of DataGridColumnStyles field.
For this part I have tried to avoid any coding.
"Ken Tucker [MVP]" wrote:
Hi,
Post some code.
Ken
---------------
"Reza G." <Reza G.@discussions.microsoft.com> wrote in message
news:AC**********************************@microsof t.com...
I have a datagrid on my windows form. At design time, I set the DataSource
and DataMember. Then I added a TableStyle and set its MappingName to the
same value as the DataMember. Finally, I created GridColumnStyle for each 3
columns that I wanted to display. But When I run this application I get the
5
origial column display in the datagrid. What did I miss to didn't do?
Thanks