1.

Solve : Find list of all the server and DB names using C#.?

Answer»

:-?

Hi

I NEED to FIND the LIST of all the servers and the database names in SQL Server but using C#.net.

I am writing an APPLICATION using C#.Net. I need to find all the servers and DB's so that I could add them to a list box to be selected.

The names of servers and databases should be in Enterprise Manager. But I need a piece of code in C# to list all of them. I will than TAKE them and add them to a combo box in the interface.

Please Help



Discussion

No Comment Found