Re: Typed DataSet Navigation (Multiple Tables)
- From: "Rick" <rryerson@xxxxxxxxxx>
- Date: 13 Jun 2006 06:05:16 -0700
Cor,
Thanks for example. However, this really doesn't meet my needs. I can
do this by binding the DataSet to controls (2 data grids) but I need to
be able to do this in code as this is for a windows service.
I need to be able to filter one of the tables and get a view from the
other table(s) that will only contain associated records.
Best regards,
Rick
Cor Ligthert [MVP] wrote:
Rick,
With a version 2.0 typed dataset this is a piece of cake.
With 1.1 I assume that most people have taken the route from the non typed
dataset (it is not changed for nothing in my idea).
I thought that this sample shows a little bit your needs
http://www.vb-tips.com/default.aspx?ID=cb1408ff-030d-4ea8-80b1-af26354b1fa0
I hope this helps,
Cor
<rryerson@xxxxxxxxxx> schreef in bericht
news:1150145592.200147.257100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I don't know if my terminology is correct so please bear with me.
I have a Typed DataSet that contains a number of related Tables. I am
trying to filter the parent table, child table and then traverse a
grand child table with the expected result of the only grand child
records in the data view would be those related to the Parent/Child and
pass through the filter.
I can't seem to do this.
I could possibly be able to extend an answer that is based on Northwind
Orders and order Details. I.e. I want to see only Order Detail records
in the Dataview that pass the filter applied to the master Orders
(Orders.EmployeeId = 6 [I only want to see Order Details that relate to
Employee 5])
If someone could please help me understand the process of setting this
up, I would greatly appreciate it.
.NET 1.1 or 1.0.
Best regards,
Rick
.
- Follow-Ups:
- Re: Typed DataSet Navigation (Multiple Tables)
- From: Cor Ligthert [MVP]
- Re: Typed DataSet Navigation (Multiple Tables)
- References:
- Typed DataSet Navigation (Multiple Tables)
- From: rryerson
- Re: Typed DataSet Navigation (Multiple Tables)
- From: Cor Ligthert [MVP]
- Typed DataSet Navigation (Multiple Tables)
- Prev by Date: DAO with Excel, QueryInterface failed...
- Next by Date: Re: Timeout expired
- Previous by thread: Re: Typed DataSet Navigation (Multiple Tables)
- Next by thread: Re: Typed DataSet Navigation (Multiple Tables)
- Index(es):
Relevant Pages
|