Is there a free “Add Connection” or “SQL Connection” Dialog?

前端 未结 3 1528
梦毁少年i
梦毁少年i 2020-12-16 04:16

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 s

3条回答
  •  情书的邮戳
    2020-12-16 05:15

    Here you go:
    SQL Connection Dialog
    http://www.codeproject.com/KB/vb/SQL_Connection_Dialog.aspx

    Edit:
    It seems that the above example is using MSDASC.DataLinks.ui wich is not allowed to redistribute.

    There are a request of making the MSDASC.DataLinks ui distributable: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=291885

    So it will only work if the end user has VS installed. Not good enough. I will not delete this answer because of the project is still a good start if you want to make your own dialog.

    Edit 2:
    More on the subject:
    Using the Choose Data Source dialog of Visual Studio 2005 from your own code
    http://www.mztools.com/articles/2007/MZ2007011.aspx and http://www.clariusconsulting.net/blogs/kzu/archive/2006/03/01/ReferenceRelativePath.aspx

提交回复
热议问题