|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hiding child rows in a datagridHi,
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. Show quote "al" <alan_o_rei***@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 > 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 |
|||||||||||||||||||||||