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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top