How to list SQL Server databases in a combobox from a C # application
You can get the list of all databases through the command below:
SELECT * FROM sys.databases