ADO.NET 2.0 - Connection user interface...

S

sudha

Hi,

ADO.NET 2.0 exposes a way to get a list of available providers. This is
great. However, I don't see any method to display the provider-specific
connection user interface. Earlier technologies such as ODBC and OLEDB
both provide a mechanism to display provider-specific connection UI.

Can someone enlighten me on what I am missing?

Thank you in advance for your help.

Sudha
 
R

Robert Simpson

There exists no such beast, unfortunately.

The best you can do is to drop a Property Grid onto a form and assign an
instance of a DbConnectionStringBuilder to it. It'd be functionally
equivalent to the "Advanced" button when you're adding a data source to the
Server Explorer.

Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top