troubleshooting Question

Filtering a Dataset by Child Rows

Avatar of mbosch
mbosch asked on
Visual Basic.NET
5 Comments1 Solution256 ViewsLast Modified:
I have not worked much with datasets in .NET and I'm thoroughly confused as to how to accomplish this task.  I have created a typed dataset with two tables.  One would be a sales person table, the other is a territory table.  Every sales person may have zero to many territories.  The territory has a FK to sales person.  

What I'm trying to do is after I have loaded the dataset with the data, I want to show only the sales persons who have a certain territory associated with them.  For example, if the current territory is 'FL', then I only want to show the sales persons with 'FL' as one of their associated territories.  

What is the best way to accomplish this?  I'm looking for something like filtering the territory table on "tID = 'FL'' (for example) which will then show only the movers associated with it.  Is that how it works?  Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros