G
Guest
Hi,
I have a query that returns 4 result sets. I pass a SubscriptionId and
it returns the subscription record along with the comments(multiple records),
A/R history (multiple records) and Shipping records (1 or more records).
Under VS2003, when I create an SQLTableAdapter using this query and then
generate a dataset, I get 4 tables. Under VS2005 (with
MultipleActiveResultSets=True), I get just one table in the dataset. How do
I get around this?
Also, as I tried to find my own way around this I came across the
following problem with the documentation. I was following the instructions
for:
"Walkthrough: Creating a TableAdapter with Multiple Queries"
When I get to the instructions...
_______________________________________--
The wizard created the dataset with a Customers data table and
CustomersTableAdapter. This section of the walkthrough adds a second query to
the CustomersTableAdapter.
To add a query to the CustomersTableAdapter
Drag a Query from the DataSet tab of the Toolbox onto the Customers table.
The TableAdapter Query Configuration Wizard opens.
Select Use SQL statements, and then click Next.
Select SELECT which returns rows, and then click Next.
________________________________________________
The problem is that the particular Radio Button it is telling me to select
is disabled and can not be selected.
Any thoughts?
I have a query that returns 4 result sets. I pass a SubscriptionId and
it returns the subscription record along with the comments(multiple records),
A/R history (multiple records) and Shipping records (1 or more records).
Under VS2003, when I create an SQLTableAdapter using this query and then
generate a dataset, I get 4 tables. Under VS2005 (with
MultipleActiveResultSets=True), I get just one table in the dataset. How do
I get around this?
Also, as I tried to find my own way around this I came across the
following problem with the documentation. I was following the instructions
for:
"Walkthrough: Creating a TableAdapter with Multiple Queries"
When I get to the instructions...
_______________________________________--
The wizard created the dataset with a Customers data table and
CustomersTableAdapter. This section of the walkthrough adds a second query to
the CustomersTableAdapter.
To add a query to the CustomersTableAdapter
Drag a Query from the DataSet tab of the Toolbox onto the Customers table.
The TableAdapter Query Configuration Wizard opens.
Select Use SQL statements, and then click Next.
Select SELECT which returns rows, and then click Next.
________________________________________________
The problem is that the particular Radio Button it is telling me to select
is disabled and can not be selected.
Any thoughts?