Hi David,
I know what you are referring to, however in this case it isn't available. I wonder if it has to do with being on the Compact Framework? Simon Kuldin | Senior Technical Consultant | PRISM Suite 3, 214 Bay St Brighton, VIC 3186, Australia P: +61 3 9596 8633 M: 0408 310 957 W: www.prism-solutions.com.au <http://www.prism-solutions.com.au/> prism-v5.jpg People. Responsive. Innovative. Simple. Methodical. From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Loo Sent: Friday, 17 June 2011 1:50 PM To: ozdotnet@ozdotnet.com Subject: RE: Datagrids in C# on Compact Framework Hi In the designer click on the DataGrid and you should see a little arrow that you can click on it, this will give you an option the edit the columns. Alternatively you can write some code and have it set during run time. David Loo _____ From: sim...@prism-solutions.com.au To: ozdotnet@ozdotnet.com Subject: Datagrids in C# on Compact Framework Date: Fri, 17 Jun 2011 13:31:01 +1000 Hey ppl, I'm getting stuck around using a Datagrid in my Compact Framework C# project. I have: - A Bindingsource that has the Datasource correctly linked to my class (which is generated from a webservice) - I then have a Datagrid on which I have set its Datasource to be the Bindingsource Once I do this, I correctly see on the Datagrid all the default columns for each field in my datasource. The problem is, I DON'T want to see every single field, I want to remove a few, and change the headings of a few columns. For the life of me I can't figure this out. Even if I try to make my own tablestyle with a collection of columns, it still uses the default columns for all fields. Any suggestions? Simon Kuldin | Senior Technical Consultant | PRISM Suite 3, 214 Bay St Brighton, VIC 3186, Australia P: +61 3 9596 8633 M: 0408 310 957 W: www.prism-solutions.com.au <http://www.prism-solutions.com.au/> Error! Filename not specified. People. Responsive. Innovative. Simple. Methodical.
<<image001.jpg>>