Re: Delphi 2005 winforms : can one use ADO?
- From: "Gregory" <contact@xxxxxxxxxxxxx>
- Date: Wed, 13 Jul 2005 15:56:58 +0200
Yes I did mean ADO.NET, and the components do not work under my copy of
Delphi 2005 with update 2. I guess I'll have to reinstall again....
But are they easyer or faster than the BDP components ? (for Firebird
databases) and can one autogenerate the SQL for the insert/modify/delete...
"Marc Scheuner" <no.spam@xxxxxx> a écrit dans le message de news:
> >When I make A winform .NET project I dont have the ADO.Net components
> >available, and if I go in the 'Installed .NET components and check the
> >checkbox so they appear then when I try to put one on the form I get :
> >'La création d'une instance de 'Borland.Vcl.TADOConnection' a échoué, car
> >So Is it possible to use the ADO components under D2005 Pro in a Winform
> >project ?
> I think you're mixing up some things here - ADO and ADO.NET.
> ADO is a COM-based set of components, which is available in .NET, if
> you must use them, by COM Interop. You will need to add a reference in
> your project to the COM class library for ADO.
> I don't see any reason why you'd want to do this, except if you can't
> find a way to get at your data with ADO.NET
> You *DEFINITELY* have ADO.NET available in your Winforms project -
> again, if you want to use it. You should see the "Borland Data
> Provider" (BDP) components in your toolbox - if not, you can always
> add them manually.
> I would strongly recommend using ADO.NET over straight, COM-based ADO,
> for a number of reasons - ease of use and performance among the top
> reasons for this.
> Marc Scheuner May The Source Be With You!
> Berne, Switzerland m.scheuner -at- inova.ch
- Prev by Date: Re: Authenticate user
- Next by Date: DataSetFields problem - "Record not found or changed by another user"
- Previous by thread: Re: Delphi 2005 winforms : can one use ADO?
- Next by thread: Re: Delphi 2005 winforms : can one use ADO?