Re: connect to db in codes



ADOConnection1.ConnectionString := 'Provider=SQLOLEDB;Integrated
Security=SSPI;Initial Catalog=pubs;';
ADOConnection1.Connected := True;

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Keith" <support@xxxxxxxxxxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:44707633@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

Is it possible to connect to access or sql server purely in codes not
using components?

thanks



.



Relevant Pages

  • Re: index list with ado?
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.database.ado)
  • Re: Looking for free installer program
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: [ANN] DevArchive.com: The ".NET" category is opened
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Bitmaps in SynEdit
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: a connection problem
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.database.ado)