FreeriderUK
Well-known member
Hi all,
first of all, I should explain what I'm trying to do since I may be going about it the wrong way...
I have a Dataset which contains 3 related tables -
I have a combobox which selects the CustomerType - from which I get a list of customers (in a Listbox) and their jobs (as details).
So far so good.
Using the selected CustomerType, I also want to "fill" a datagridview (a different dataset) with ALL jobs (including CustomerName) sorted by ScheduledDate - (Related post)
What's the best way to achieve this?
I've tried Stored Procedures but ran into a couple of problems which I can explain if necessary...
Using SQL Server Express.
first of all, I should explain what I'm trying to do since I may be going about it the wrong way...
I have a Dataset which contains 3 related tables -
VB.NET:
CustomerType:
CustomerTypeID
CustomerTypeDescription
Customers:
CustomerID
CustomerTypeID
CustomerName
Jobs:
JobID
CustomerID
ScheduledDate
I have a combobox which selects the CustomerType - from which I get a list of customers (in a Listbox) and their jobs (as details).
So far so good.
Using the selected CustomerType, I also want to "fill" a datagridview (a different dataset) with ALL jobs (including CustomerName) sorted by ScheduledDate - (Related post)
What's the best way to achieve this?
I've tried Stored Procedures but ran into a couple of problems which I can explain if necessary...
Using SQL Server Express.