G
Guest
I am creating a window forms, and placed a datagrid on it.
Set the DataSource and DataMember, and I get all the column in the table
(relation) shown. I used TableStyles of the DataGrid and add a new member.
I set its MappingName same as DataMember. Then I use GridColumnStyle and
add the columns I needed. But when I run the application all the column in
the tables are shown and it seems that th GridColumnstyles is totally ignored.
Set the DataSource and DataMember, and I get all the column in the table
(relation) shown. I used TableStyles of the DataGrid and add a new member.
I set its MappingName same as DataMember. Then I use GridColumnStyle and
add the columns I needed. But when I run the application all the column in
the tables are shown and it seems that th GridColumnstyles is totally ignored.