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!