Fill Combo Box with Database Names?
Windows Forms
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, I want to fill the ComboBox with All the Database Names those are present in SQL Server. Is it possible? If yes, Then How???
-
Hi, I want to fill the ComboBox with All the Database Names those are present in SQL Server. Is it possible? If yes, Then How???
You can use SMO to retrieve database names from sql server instance or you can issue a query that retrieves all database names using sqlcommand object and then populate combobox.
Giorgi Dalakishvili #region signature my articles My blog[^] #endregion