What is C# equivalent of Delphi's ClientDataSet ?

O

Oleg Subachev

Is there C# equivalent of Delphi's ClientDataSet ?

ClientDataSet is an in-memory DataSet, that has no
external data storage.

Oleg Subachev
 
G

Greg Young [MVP]

From what little I know of it, is it not a DataSet. I remember some special
functionality (like persisting to/from files) but thats just serialization.
Si I guess my answer would be the DataSet class

Cheers,

Greg
 
O

Octavio Hernandez

Hi,

I guess it more like a DataTable class, with some additional features (e.g.
WriteXml, ReadXml) that in .NET belong to the DataSet class.

Regards - Octavio
 
J

Jani Järvinen [MVP]

Hello!

Octavio Hernandez said:
I guess it more like a DataTable class...

Yes, the .NET DataTable would be the closest equivalent of a Delphi
ClientDataSet (CDS).

However, nothing prevents you from using the TClientDataSet class in
Delphi.NET applications, if you are willing to use Borland's VCL.NET
libraries. The TClientDataSet is defined in the Borland.Vcl.DBClient
namespace.

The .NET DataSet can contain data from multiple tables, so it can be thought
of as multiple TClientDataSet components combined into one without losing
the data independency in different tables.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Oleg said:
Is there C# equivalent of Delphi's ClientDataSet ?

ClientDataSet is an in-memory DataSet, that has no
external data storage.

Oleg Subachev

The equivalent is a DataSet. It doesn't have to be filled from an
external data storage. Just create one and create DataTable's to put in it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top