How to list available databases?

How to list available databases?

Postby newyuppie » Sat 08 Jul 2006 14:52

hi,

is there a way to connect to MySQL and provide the user with a dropdownlist of all available databases?

thanks
newyuppie
 
Posts: 13
Joined: Fri 07 Jul 2006 05:48

Postby Hostonet » Sun 09 Jul 2006 22:47

In VB.NET ?
Hostonet
 
Posts: 14
Joined: Thu 31 Mar 2005 18:17
Location: Ham-sur-Heure / Nalinnes

Postby Alexey » Mon 10 Jul 2006 11:49

Use "show databases;" SQL command to configure MySqlDataTable component. Then use ComboBox component to be bound with MySqlDataTable.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL