Click here to Skip to main content
Rate this: bad
good
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 2:46am
Edited 9-Apr-11 2: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 at 10-Apr-11 0:53am
   
I wanted a control but It helps very.
SAKryukov at 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 at 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
0 OriginalGriff 6,045
1 DamithSL 4,611
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 9 Apr 2011
Copyright © CodeProject, 1999-2014
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