By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,908 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Dataset and DataGrid

P: n/a
Hi,

How can I put two tables with 1 to many relationship into a dataset and then
bind it to a datagrid where I can see each row form the first table and an
extendable many corresponding rows from the second (related) table.
Thanks
--
Regads,
Rochdi

Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Rochdi,

And there is much more about master detail on MSDN.

http://msdn.microsoft.com/library/de...indowsform.asp

I hope this helps,

Cor
Nov 21 '05 #2

P: n/a
Hi,

Check if this helps:
http://msdn.microsoft.com/library/de...thdatagrid.asp

"Rochdi" <Ro****@discussions.microsoft.com> wrote in message
news:36**********************************@microsof t.com...
Hi,

How can I put two tables with 1 to many relationship into a dataset and then
bind it to a datagrid where I can see each row form the first table and an
extendable many corresponding rows from the second (related) table.
Thanks
--
Regads,
Rochdi
Nov 21 '05 #3

P: n/a
Yes, but this is talking about a listbox and the related data in the
datagrid; and what I'm looking for is to see data in the same datagrid where
u can see at each row in the datagrid (a + simble maybe) and when u click in
it u see the related rows!!!! is it possible to do it a DataGrid!!!?

--
Regads,
Rochdi
"Cor Ligthert [MVP]" wrote:
Rochdi,

And there is much more about master detail on MSDN.

http://msdn.microsoft.com/library/de...indowsform.asp

I hope this helps,

Cor

Nov 21 '05 #4

P: n/a
Rochdi,.
Yes, but this is talking about a listbox and the related data in the
datagrid; and what I'm looking for is to see data in the same datagrid
where
u can see at each row in the datagrid (a + simble maybe) and when u click
in
it u see the related rows!!!! is it possible to do it a DataGrid!!!?


Just try it, standard does the datagrid give what you ask, this is even an
extention, however try to see more samples on MSDN as one is that Siva
showed you. However detail master seems to be for a while in past the only
samples we saw.

Luckily it is much approaved by the way and now in my opinion very good with
other samples as well..

I hope this helps,

Cor
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.