Home All Groups Group Topic Archive Search About

DataGrid Customers vs NHibernate.

Author
13 Oct 2006 11:37 PM
Javier
Hello, I need develop a DataGrid control on winform in vb.net languajes. This
controls is connected to NHibernate data source, but I need too, that the
control show only two columns of the table.

Thank

Javier.

Author
15 Oct 2006 9:36 AM
Michel Posseth [MCP]
I am one of those people who just like to serialize and deserialize his
data objects by himself  , i have never seen the need for using a tool to do
so :-)  but that is another discussion i wil not bother you with now .

To answer your question , if you connnect the data source during design time
then you can set the visible property of the datgrid column to false in
runtime you can also change this property of a bound datagrid (view) column
by its index

regards

Michel Posseth [MCP]


Show quoteHide quote
"Javier" <Jav***@discussions.microsoft.com> schreef in bericht
news:9CC3E147-976A-4878-BBD3-B1C5AD4663EE@microsoft.com...
> Hello, I need develop a DataGrid control on winform in vb.net languajes.
> This
> controls is connected to NHibernate data source, but I need too, that the
> control show only two columns of the table.
>
> Thank
>
> Javier.