How to install TAdoConnection in delphi XE2 starter?

Deadly 提交于 2019-12-25 09:00:52

问题


I just bought Delphi XE2 starter and want to upgrade my projects. One of them is failing because Delphi doesn't know what TAdoConnection is.

I stupidly didn't keep a copy of the package when I D/Led it a few years ago now can't remember where I cgot it from

How to install TAdoCOnnection et al into Delphi XE2? Thanks


Update: alas, I have the Starter edition (who can afford anything else?)


Later update, just in case anyone else wants to do some database stuff with a starter edition.

I paid for AnyDac and was very happy, but then it was bought by Embarcadero, so you can't purchase it separately any more. I have a bug with Sqlite, so am looking for alternates.

Start here http://www.freebyte.com/programming/delphi/#freedelphidatabasecompone
ZeosLib looks very promising http://zeoslib.sourceforge.net/portal.php


回答1:


It comes with Delphi, as long as you don't just have the "starter" edition, so you should already have it installed. Look in the ADODB unit. There is no other package to download.




回答2:


It should be there, under ADODB:

http://docwiki.embarcadero.com/VCL/en/ADODB

http://docwiki.embarcadero.com/VCL/en/ADODB.TADOConnection

http://docwiki.embarcadero.com/CodeSamples/en/ADOQuery_%28Delphi%29

ADDENDUM:

Here's the XE2 feature matrix:

http://www.embarcadero.com/images/Delphi/delphi_short_feature_matrix_large.png

ADO is available on all versions ... EXCEPT the "starter version".




回答3:


Since you have the Starter version, there is no direct option for TADOConnection. You either upgrade your version of Delphi, or use something other than TADOConnection.



来源:https://stackoverflow.com/questions/8600295/how-to-install-tadoconnection-in-delphi-xe2-starter

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