G
Guest
Environment: VB.Net, SQL Server 2000.
I've used both data readers and also datasets with tables in them. I would
like to use a data reader (because of its speed) to retrieve using a stored
procedure with TWO selects in the stored proc (two result sets), then go thru
the data reader and put both result sets into a DataSet as separate tables
(table names). This will save me having to connect to the database twice and
call two stored procs.
Does anybody have an example of how to put a data reader into a data set as
a table(s)?
I've used both data readers and also datasets with tables in them. I would
like to use a data reader (because of its speed) to retrieve using a stored
procedure with TWO selects in the stored proc (two result sets), then go thru
the data reader and put both result sets into a DataSet as separate tables
(table names). This will save me having to connect to the database twice and
call two stored procs.
Does anybody have an example of how to put a data reader into a data set as
a table(s)?