Re: Datagrids in C# on Compact Framework

2011-06-16 Thread Scott Barnes
..@ozdotnet.com] *On Behalf Of *Scott Barnes > > *Sent:* Friday, 17 June 2011 1:46 PM > *To:* ozDotNet > *Subject:* Re: Datagrids in C# on Compact Framework > > > > > > foreach(DataGridColumn col in MyGrid.Columns) > > { > > if (col.HeaderText == "

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
o: 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.

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
ttp://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 Scott Barnes Sent: Friday, 17 June 2011 1:46 PM To: ozDotNet Subject: Re: Datagrids in C# on C

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread David Loo
@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

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
rism-v5.jpg People. Responsive. Innovative. Simple. Methodical. From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Scott Barnes Sent: Friday, 17 June 2011 1:46 PM To: ozDotNet Subject: Re: Datagrids in C# on Compact Framework foreach(DataGridCo

Re: Datagrids in C# on Compact Framework

2011-06-16 Thread Scott Barnes
foreach(DataGridColumn col in MyGrid.Columns) { if (col.HeaderText == "TheOneWhomShouldBeIgnored") col.Visible = false; } Ahhh...Compact Framework..how you mock us all with your "maturity" ;) hehehe. --- Regards, Scott Barnes http://www.riagenic.com On Fri, Jun 17, 2011 at 1:31 PM, Simon Ku

Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
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