L
lakshmi
Hi all,
My requirement is I need to have three different
recordsets open at the same time. Traversing through the 3
recordsets, I would check on the data and based on some
rules, return an object from my function.
Will it be efficient to use a SQLDataReader or a DataSet
for this situation? I understand from the documentation
that there can be only one SQLDataReader associated with a
connection open at a time. So, it seems like I can't have
3 SqlDataReaders open at the same time for my connection.
is SqlDataReader usable for these type of conditions
(unless I combine my 3 recordsets into a single recordset
by some means?)
Or can a DataSet be used? But I wouldn't be doing any
updates or deletes to any of those recordsets? Is it
useful to use a dataset at all?
I'm a beginner in C# and ADO.NET. Thanks for all your help.
My requirement is I need to have three different
recordsets open at the same time. Traversing through the 3
recordsets, I would check on the data and based on some
rules, return an object from my function.
Will it be efficient to use a SQLDataReader or a DataSet
for this situation? I understand from the documentation
that there can be only one SQLDataReader associated with a
connection open at a time. So, it seems like I can't have
3 SqlDataReaders open at the same time for my connection.
is SqlDataReader usable for these type of conditions
(unless I combine my 3 recordsets into a single recordset
by some means?)
Or can a DataSet be used? But I wouldn't be doing any
updates or deletes to any of those recordsets? Is it
useful to use a dataset at all?
I'm a beginner in C# and ADO.NET. Thanks for all your help.