Datagrid...

B

Brian

I was wondering if someone could help me here... I want to create a
datagrad(ones included with VS2008) that will have a row that is expandable
.... and then rows under that
Like this for example
Dept
Dept 1 Team 2 Team 3 Team 3
Joe Karen Ed
Jeff Mike Bob
Lori Tom Jill
DEPT2 Team 1 Team 2 Team 3
Joe Karen Ed
Jeff Mike Bob
Lori Tom Jill
DEPT3 Team 1 Team 2 Team 3
Ed Joe Karen
Bob Jeff Mike
Jill Lori Tom

where dept 1, dept 2, and dept 3.. would be expandable or collapable?
How can i do this, with the standard controls?
Brian
 
C

Cor Ligthert[MVP]

The first thing you have to be sure of is that your Dataset contains the
correct relations for the tables.

Cor
 
B

Brian

what do you mean correct relations? This would be one table?.. or are you
telling me.. this would have to be several differnt tables?
 
C

Cor Ligthert[MVP]

Yes

Brian said:
what do you mean correct relations? This would be one table?.. or are you
telling me.. this would have to be several differnt tables?
 
B

Brian

Ok Cor...
I'll have a dataset with two tables, one for the Department.. and then the
teams?
 
C

Cor Ligthert[MVP]

You write all the time about the datagrid, that one is too in version 2008
however you have to add it to the toolbox

Cor
 
B

Brian

you say this, but I only see datagridview...

Cor Ligthert said:
You write all the time about the datagrid, that one is too in version 2008
however you have to add it to the toolbox

Cor
 
C

Cor Ligthert[MVP]

Click right on the toolbox then you will see the datagrid and can check
that.
 

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