DataGrid Customers vs NHibernate.

G

Guest

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.
 
M

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]
 

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

Top