DataGrid bind

  • Thread starter Thread starter chora
  • Start date Start date
C

chora

I can swear that I saw a posting about how to bind selected columns of a
datatable to a Grid.

I searched in every possible way and couldn't find it.

Can anyone help me? ( Or did I just dream about it!)
 
There are two ways you can do this, one is to create a DataView from your
table with just the required fields selected, then bind this to the grid.
The other option is to set the datagridtablestyle and specify custom columns
and their bindings. A sample of the latter method is available here:-
http://www.inthehand.com/forums/viewtopic.php?t=96

Peter
 
Back
Top