Hello !
Please tell me how to display a list of all available SQL Server database for example on a listbox so users chose their desired database? Thank you!
SqlConnection.GetSchema with the option "Databases" will return a DataTable with a list of databases. Bind it to a ListBox or fill the ListBox manually..
Please sign in or sign up to write your answer or comment.