A
AussieRules
Hi,
I have a need to do two selects against to stored proc's in my SQL db.
At the moment, each SP is called and two different dataset are populate.
Thats two round trips to the SQL server.
I can combine the two SP into one, and have one SP that executes two Select
Statements, and effectivly returns two result sets, and I could call this
with one trip to the SQL server from my VB app.
Only problem is then handling the two result sets that SQL is returning to
my VB app.
Can the dataadapter, or some other VB datacontrol handle this, and give me
both datasets ?
Thanks
I have a need to do two selects against to stored proc's in my SQL db.
At the moment, each SP is called and two different dataset are populate.
Thats two round trips to the SQL server.
I can combine the two SP into one, and have one SP that executes two Select
Statements, and effectivly returns two result sets, and I could call this
with one trip to the SQL server from my VB app.
Only problem is then handling the two result sets that SQL is returning to
my VB app.
Can the dataadapter, or some other VB datacontrol handle this, and give me
both datasets ?
Thanks