D
DotNetGruven
Hi,
I'm returning 12 tables worth of data from one Oracle stored procedure
using the technique documented in:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;321715
The problem I'm having is getting the .Fill() to do the right thing.
Depending on which overload of Fill() I use, I get either 24 tables when I
use .Fill(dataSet) (the original 12 tables don't get filled, 12 new tables
get created) or I get 145 Tables in the DataSet when I call
..Fill(using_the_dataTable_object_in_the_dataset) 12 times, once for each of
the 12 datatables.
So, the question is, how do I get the 12 ref cursors to fill the 12
tables in the DataSet?
It seems like Fill() tries to match up the name of the RefCursor with
the name of the Table. Unfortuntunately, I had to make the name of the
RefCursors the name of the original table suffixed with '_O'. So, I tried
changing the name of the tables by setting the TableName property to match
that of the RefCursor. Still no joy!
Any help will be greatly appreciated,
geo
I'm returning 12 tables worth of data from one Oracle stored procedure
using the technique documented in:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;321715
The problem I'm having is getting the .Fill() to do the right thing.
Depending on which overload of Fill() I use, I get either 24 tables when I
use .Fill(dataSet) (the original 12 tables don't get filled, 12 new tables
get created) or I get 145 Tables in the DataSet when I call
..Fill(using_the_dataTable_object_in_the_dataset) 12 times, once for each of
the 12 datatables.
So, the question is, how do I get the 12 ref cursors to fill the 12
tables in the DataSet?
It seems like Fill() tries to match up the name of the RefCursor with
the name of the Table. Unfortuntunately, I had to make the name of the
RefCursors the name of the original table suffixed with '_O'. So, I tried
changing the name of the tables by setting the TableName property to match
that of the RefCursor. Still no joy!
Any help will be greatly appreciated,
geo