Switch to Bing in English
Copilot
Your everyday AI companion
Explore these results from Bing
    Upvotes27Top Answeranswered May 27, 2010 at 6:02

    @mawg, i wrote an simple program for you to ilustrate how work with ADO and Delphi. this is an console application, but explains the basics.

    before you execute this code you must download and install the odbc connector from this location.

    You can impro...

    program ProjectMysqlADO;

    {$APPTYPE CONSOLE}

    uses
    ActiveX,
    DB,
    ADODB,
    SysUtils;

    const
    //the connection string
    StrConnection='Driver={MySQL ODBC 3.51 Driver};Server=%s;Database=%s;User=%s; Password=%s;Option=3;';


    var
    AdoConnection : TADOConnection;

    procedure SetupConnection(DataBase:String);//Open a connection
    Content Under CC-BY-SA license
    Was this helpful?
  1. Delphi 7: ADO, need basic coding example - Stack Overflow

  2. Using Delphi Queries With ADO - ThoughtCo

  3. People also ask
    The TADOQuery component provides Delphi developers the ability to fetch data from one or multiple tables from an ADO database using SQL.
    @PresleyDias, you always need specify a database in the connection string, so you can use the "mysql" db which always exists. One of the best places for Delphi examples is www.delphi.about.com. They have heaps of tutorials and examples. Their forums are really good as well. Dave Thanks (+1).
    To make a Delphi form capable of retrieving the data from an Access database with the ADOQuery component simply drop all the related data-access and data-aware components on it and make a link as described in the previous chapters of this course.
    This example demostrates the use of ADO for database conectivity. The example assumes that a TDBGrid is placed on the form.
  4. Simple ADO Tutorial With Delphi 7 - YouTube

    WEBOct 27, 2015 · Simple ADO Tutorial With Delphi 7

  5. ADOQuery (Delphi) - RAD Studio Code Examples ...

  6. Chapter 15: Working with ADO :: Part III: Delphi Database ...

  7. Transaction Processing :: Chapter 15: Working with ADO - e ...

  8. Updating the Data :: Chapter 15: Working with ADO - e-Tutorials

  9. Queries with ADO - ADO Database Programming - Delphi Power

  10. Working with ADO Components - RAD Studio - Embarcadero ...

  11. Working with ADO | Part III - Delphi Database-Oriented ...

By using this site you agree to the use of cookies for analytics, personalized content, and ads.Learn more about third party cookies|Microsoft Privacy Policy