是否有免费的“添加连接”或“SQL连接”对话? [英] Is there a free "Add Connection" or "SQL Connection" Dialog?

查看:101
本文介绍了是否有免费的“添加连接”或“SQL连接”对话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢服务器资源管理器窗口中的Visual Studio中的添加连接或SQL连接对话框。
我也喜欢CodeSmith中的一个。
我想在我的Windows应用程序中拥有相同的对话框或模拟功能。

I like the "Add Connection" or "SQL Connection" dialog that is in Visual Studio in Server Explorer window. I also like the one in CodeSmith. I would like to have that same dialog or simular functionality in my windows application.

我需要它与SQL Server和SQL Server Express数据库文件配合使用(* .mdf)。

I need it to work with SQL Server, and SQL Server Express Database files (*.mdf).

我的客户端安装了.NET 3.5 SP1和SQL Server 2008 Express。

My clients have .NET 3.5 SP1 and SQL Server 2008 Express installed.

这是一个可以使用的系统对话框吗?有没有像这样的开源对话框?谢谢。

Is this a system dialog I can use? Is there an open source dialog like it? Thanks.

推荐答案

我正在寻找,似乎Microsoft已经发布了Visual Studio连接对话框的源代码,所以它可以在VS之外使用:

I was looking for exactly that, and it appears that Microsoft has published the source for the Visual Studio connection dialog, so that it can be used outside VS :

http ://code.msdn.microsoft.com/Connection

我刚刚尝试了,它工作正常:)

I just tried it, it works fine :)

这篇关于是否有免费的“添加连接”或“SQL连接”对话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆