Tim,
I would say that the DataTable is the managed equivalent. It's a better
fit, since the Recordset and the DataTable are both representations of a
tabular set of data. The DataSet is a collection of DataTables, something
that ADO doesn't have.
The DataTable, on the other hand, doesn't have anything that relates to
a "current" record. This confuses a lot of people, as they expect it to be
baked into the data (when in reality, it is a concept separate from the set
of data).
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Tim Roberts" <ti**@probo.comwrote in message
news:bv********************************@4ax.com...
"Man T" <al**************@yahoo.com.auwrote:
>>
>>>What is/are differences between these 2?
RecordSet is a type in standard ADO.
ADODataSet is a type in Delphi.
Neither is related to C#.
I was asked about this 'technical' question falls in .NET category by the
interviewer yesterday.
This might just be a spelling problem. ADO.NET does have a DataSet type,
although it's called DataSet, not ADODataSet. The ADO.NET DataSet is,
roughly speaking, the managed equivalent of the unmanaged ADO RecordSet.
Google will be of help to you.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.