D
Dave Veeneman
I am using a stored procedure to fetch two tables into a DataSet:
ALTER PROCEDURE GetLedgerComponents
AS
SELECT * FROM Ledgers WHERE LedgerStatus = 1
SELECT * FROM LedgerAccounts WHERE LedgerAccountStatus = 1
RETURN
In the DataSet, the tables have the name "Table1" and Table2". I'd like to
specify the names of the DataSet tables, preferably in the stored procedure.
Is there any way to do this, or do I have to rename them by resetting the
TableName
property in the DataSet? Thanks
ALTER PROCEDURE GetLedgerComponents
AS
SELECT * FROM Ledgers WHERE LedgerStatus = 1
SELECT * FROM LedgerAccounts WHERE LedgerAccountStatus = 1
RETURN
In the DataSet, the tables have the name "Table1" and Table2". I'd like to
specify the names of the DataSet tables, preferably in the stored procedure.
Is there any way to do this, or do I have to rename them by resetting the
TableName
property in the DataSet? Thanks