Click here to Skip to main content
12,501,010 members (50,445 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#3.0 C# C#4.0
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 9-Apr-11 1:46am
Updated 9-Apr-11 1:49am
v3

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
Shahin Khorshidnia 10-Apr-11 0:53am
   
I wanted a control but It helps very.
SAKryukov 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 9 Apr 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100