HI,
I m using delphi 5, ADOConnection, ADOTable, DBGrid, ListBox1, DataSource.
I have a database with tables (table1, table2, table3).
To populate the ListBox1 with tables (table1, table2, table3) I wrote the following code:
ADOConnection1.GetTableNames(ListBox1.Items, false); It some how works .
Now I want that when I click on table2(for example in ListBox1) it's contents shows in dbgrid1.
Best Regards.
I m using delphi 5, ADOConnection, ADOTable, DBGrid, ListBox1, DataSource.
I have a database with tables (table1, table2, table3).
To populate the ListBox1 with tables (table1, table2, table3) I wrote the following code:
ADOConnection1.GetTableNames(ListBox1.Items, false); It some how works .
Now I want that when I click on table2(for example in ListBox1) it's contents shows in dbgrid1.
Best Regards.