Re: Multiple Result Sets in a DataSet from DataAdapter ?
- From: "Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>
- Date: Wed, 11 Oct 2006 21:45:28 -0400
Hi,
DataAdapter.Fill will do it for you
From MSDN:When handling batch SQL statements that return multiple results, the
implementation of FillSchema for the .NET Framework Data Provider for OLE DB
retrieves schema information for only the first result. To retrieve schema
information for multiple results, use Fill with the MissingSchemaAction set
to AddWithKey.
So it will create one table per resultset
--
Ignacio Machin
machin AT laceupsolutions.com
"Liz" <liz@xxxxxxxxxxxxxxx> wrote in message
news:e8ZEikZ7GHA.2380@xxxxxxxxxxxxxxxxxxxxxxx
Anyone have any info on how you can fill a DataSet with mutiple result
sets
from a SQL batch ? I know with a dataReader you can use the nextResult
method but I'm lost on how you do this with a dataAdapter ....
TIA ..
L
.
- Follow-Ups:
- References:
- Prev by Date: Re: EventHandler assignment
- Next by Date: Re: Decoding strategy
- Previous by thread: Re: Multiple Result Sets in a DataSet from DataAdapter ?
- Next by thread: Re: Multiple Result Sets in a DataSet from DataAdapter ?
- Index(es):