我想提供一个数据库连接提示给用户。我可以建立我自己的,但它会很好,如果我可以用的东西,别人已经建成(也许东西内置到Windows或免费的图书馆在互联网上公布)。任何人都知道如何做到这一点。NET中?
I would like to offer a database connection prompt to the user. I can build my own, but it would be nice if I can use something that somebody else has already built (maybe something built into Windows or a free library available on the Internet). Anybody know how to do this in .Net?
编辑:我发现了这一点,并认为这是有趣的:显示连接字符串提示在WinForm应用程序。这仅适用于SQL Server连接,但。
I found this and thought it was interesting: Showing a Connection String prompt in a WinForm application. This only works for SQL Server connections though.
推荐答案
您可能想尝试使用的 SQL Server管理对象。这MSDN文章具有提示和连接到SQL Server一个很好的样本。
You might want to try using SQL Server Management Objects. This MSDN article has a good sample for prompting and connecting to a SQL server.
相关推荐
最新文章