Hiding child rows in a datagrid

  • Thread starter Thread starter al
  • Start date Start date
A

al

Hi,

Is there any way of hiding child tables/rows in a windows form
datagrid. I'm using Vb.net and Visual Studio 2003.

thanks in advance

alan
 
Set the grid datasource to a dataview or directly to a datatable contained
in a dataset.
 
Hi Jim,

Thanks for the quick reply. Unfortunately that hasnt done it either. I
set the datasource of my datagrid to a datatable contained within the
dataset.
On loading data, I still get the plus(expand) symbol and I get can
click on the relationships between the tables and display data from the
related table in the same datagrid.

I think its a pretty useful thing but I dont want to confuse the
technology shy end user!

I havent used Dataviews (pretty new to vb.net) but maybe that will
work.

thanks again

alan
 
Back
Top