Re: Delphi 2005 winforms : can one use ADO?



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...
?

Thank's

Greg

"Marc Scheuner" <no.spam@xxxxxx> a écrit dans le message de news:
mda9d1tohplb6nku0a0jd4pb37vpniranh@xxxxxxxxxx
> >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
> ================================================================
> Marc Scheuner May The Source Be With You!
> Berne, Switzerland m.scheuner -at- inova.ch


.



Relevant Pages

  • Re: Newbie help
    ... unless there are reasons that you didn't ... inefficient to use a recordset for this. ... GlobalSign digital certificate is a forgery and should be deleted without ... > Any websites that will walk me thru using ado with access. ...
    (microsoft.public.data.ado)
  • Re: a97 to a03 and DAO to ADO
    ... The client is peforming an OS and Office upgrade. ... Considering some of the feed back, it may worth another look at keeping DAO ... >> I've developed were all done utilizing ADO. ... >>> project into an ADP, I would only recomend this for 2 reasons, how much ...
    (microsoft.public.access.conversion)
  • Re: Stop me before I use DSN again!
    ... your in-depth ADO article....excellent. ... One of the reasons I was getting the error after publishing the site ... Gonna have to carve these words on my ... desk so I don't miss that again. ...
    (microsoft.public.frontpage.client)
  • Re: Delphi 2005 winforms : can one use ADO?
    ... I think you're mixing up some things here - ADO and ADO.NET. ... You *DEFINITELY* have ADO.NET available in your Winforms project - ... You should see the "Borland Data ... for a number of reasons - ease of use and performance among the top ...
    (borland.public.delphi.database.ado)

Loading