all groups > dotnet windows forms databinding > january 2005 >
You're in the

dotnet windows forms databinding

group:

Dynamically bind to a datagrid ?


Dynamically bind to a datagrid ? verane.chanson NO[at]SPAM varianinc.com
1/6/2005 5:25:54 AM
dotnet windows forms databinding:
Hi again,

I have another question...
I have some business classes that contains some fields, and I know
only at run time which fields of those business classes I have to
display on my grid (it depends on user choices, and I can have fields
coming from different business classes to display in the same grid).

Is it possible to bind dynamically the selected fields to a datagrid ?


Regards,
Re: Dynamically bind to a datagrid ? J. Jones
1/6/2005 6:50:39 AM
[quoted text, click to view]

Re: Dynamically bind to a datagrid ? Grant Frisken
1/6/2005 4:40:05 PM
You probably need to look at a 3rd party list view or grid control to
get this functionality. Most of these will also provide the ability
to allow the user to select the columns to be displayed and customize
their location, size etc.

My company (Infralution) has a product (VirtualTree - a combined
Tree/ListView control) that would meet you needs for this - but there
are many others - so you should probably find one that fits your needs
and price.


Grant Frisken
Infralution
www.infralution.com
AddThis Social Bookmark Button