How to read a .cds database (TClientDataSet) with .Net

烈酒焚心 提交于 2019-12-10 17:49:16

问题


I have an old databasefile from an application written in Delphi. My task is to extract the data, and move it to an SQL-Database. I know it is in .cds format which uses the TClientDataSet-Class from Delphi. The problem is: I have no Delphi, no documentation and the guy who has written the app left the company years ago. So, my question is: Is there any way (besides Delphi or text-parsing) to access the data with Dot.net, Python, Ruby, Java or Perl? A simple "export" to XML or CSV would work too.


回答1:


TClientDataSet can write to cds or XML. The easiest way to do this would be to use a copy a Delphi to write a simple application that uses a TClientDataSet to read the cds and write an XML file (probably 30 minutes of effort). Trial versions of Delphi are available.



来源:https://stackoverflow.com/questions/4637563/how-to-read-a-cds-database-tclientdataset-with-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!