服务器资源管理器(自定义WPF/Windows控件) [英] Server Explorer (Custom WPF/Windows control)
问题描述
你好,
我正在搜索Server Explorer
控件(WPF
或Windows
)
什么是Server Explorer
?
好的,当您使用DataSet
时,您可能会在Visual Studio
中看到一个Server Explorer
用于设置Connection String
.我想要这样的User Control
.
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?
推荐答案
您可以自行构建.创建一个窗口和一个列表框,显示此方法的结果:
Hi,
you can build it on your own. Createa Window and a Listbox which Display the Result from this Method:
SqlDataSourceEnumerator.Instance.GetDataSources();
来自: http://social.msdn.microsoft. com/forums/zh-CN/adodotnetdataproviders/thread/fda283ef-5a8b-424d-b549-074ccc19c8d7 [使用ODBC枚举C#中的SQL Server实例 [
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
这篇关于服务器资源管理器(自定义WPF/Windows控件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!