Click here to Skip to main content
15,030,240 members
Please Sign up or sign in to vote.
5.00/5 (4 votes)
See more:
Hello,
I am searching for a Server Explorer control (WPF or Windows)

What is Server Explorer?
Ok, When you are using DataSet, You may see a Server Explorer in your Visual Studio for setting the Connection String. I want a User Control like that.
Would you help me find?
Posted
Updated 9-Apr-11 1:49am
v3

1 solution

Hi,

you can build it on your own. Createa Window and a Listbox which Display the Result from this Method:
SqlDataSourceEnumerator.Instance.GetDataSources();

From: http://social.msdn.microsoft.com/forums/en-US/adodotnetdataproviders/thread/fda283ef-5a8b-424d-b549-074ccc19c8d7[^]

or you look at this:
Enumerate SQL Server Instances in C#, Using ODBC[^]

Hope it helps
   
Comments
Shahin Khorshidnia 10-Apr-11 0:53am
   
I wanted a control but It helps very.
Sergey Alexandrovich Kryukov 10-Apr-11 19:32pm
   
I don't see a big difference. Do not create a Windows; create a control derived from Control, or, simply a Use Control using Designer with XAML.
--SA
Shahin Khorshidnia 18-Apr-11 4:55am
   
I had understood DrNimnull, Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900