all groups > dotnet windows forms designtime > september 2004 >
You're in the

dotnet windows forms designtime

group:

How to Embedded one Window Form datagrid as row of other datagrid


How to Embedded one Window Form datagrid as row of other datagrid TusharP
9/22/2004 7:51:01 PM
dotnet windows forms designtime:
Hi Friends,
My requirement are as follow.....
1) First DataGrid display all row of one table, with this one additional
column having +/- control like tree.
2) When user click on +/- control DataGrid row must expand & show rows of
other table (filtered row based on clicked row values). I thing we need
embedded datagrid to show expanded row.
Is am I right?
Is it possible to embedd datagrid as row in other datagrid?

Need Urgent Help.

Thanking You
Tushar P.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17-Sep-04

Re: How to Embedded one Window Form datagrid as row of other datagrid Peter Kenyon
9/24/2004 2:21:57 PM

[quoted text, click to view]

The DataGrid control already has this functionality, without needing to do
anything special. If you assign a two-table dataset with relations between
the tables as the grid's DataSet, you will be able to click on a +/- to see
the child rows.

Peter

AddThis Social Bookmark Button