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

Re: Hiding child rows in a datagrid by Jim

Jim
Sun Apr 02 12:26:27 CDT 2006

Set the grid datasource to a dataview or directly to a datatable contained
in a dataset.

"al" <alan_o_reilly@yahoo.ie> wrote in message
news:1143983590.038918.201200@i40g2000cwc.googlegroups.com...
> 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
>



Re: Hiding child rows in a datagrid by al

al
Tue Apr 04 09:36:29 CDT 2006

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