• I removed the www from the URL, please update your bookmarks and pay attention to the bottom of the screen if using Google Chrome to allow push notifications again.

Are there pre-existing dialog boxes for constructing data connections?

David_Ford

Member
Joined
May 11, 2016
Messages
10
Programming Experience
10+
I'd like my users to select and define whatever data source they can. As a programmer, do I have access to those same windows that I see when I'm trying to define a data connection, without having to recreate them?

Or am I thinking about this all wrong?

Thanks.
 

David_Ford

Member
Joined
May 11, 2016
Messages
10
Programming Experience
10+

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,062
Location
Sydney, Australia
Programming Experience
10+
Are you able to use that in your own application though? I wouldn't have thought so. I would have thought that anything in that namespace would be part of VS and only accessible to those developing extensions for VS.
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,062
Location
Sydney, Australia
Programming Experience
10+
Hasn't worked yet. Won't recognize the import. I spoke too soon.

Here's another link I found. Haven't tried it yet as I'm about to crash.

Everything SQL Server Compact: Using the ADO.NET Data Connection dialog in your own application ? and limiting the choice of data sources
The source code link provided by that page is no longer valid. I just did a bit of checking and it turns out that that dialogue is now available as a NuGet package.

https://www.nuget.org/packages/DataConnectionDialog/

If you haven't used NuGet before, the UI is built into VS. You can right-click the project in the Solution Explorer and select Manage NuGet Packages, then just search nuget.org for DataConnectionDialog.
 

David_Ford

Member
Joined
May 11, 2016
Messages
10
Programming Experience
10+
The source code link provided by that page is no longer valid. I just did a bit of checking and it turns out that that dialogue is now available as a NuGet package.

https://www.nuget.org/packages/DataConnectionDialog/

If you haven't used NuGet before, the UI is built into VS. You can right-click the project in the Solution Explorer and select Manage NuGet Packages, then just search nuget.org for DataConnectionDialog.

Thank you very much.
 
Top Bottom