ConnectionString and Design

  • Thread starter Thread starter Daniel Bello Urizarri
  • Start date Start date
D

Daniel Bello Urizarri

Hello:

I'm making an application that should deal with different types connection
(OledbConnection, SqlConnection, MySqlConnection.. ). When editing
ConnectionString property in design time, VStudio shows friendly user
dialogs. I would like my application to show them so users can edit their
connection strings. Is it possible? Is there some article or example?

Thanks
 
It shouldn't be hard to build one yourself. Stick some radio buttons
at the top of a form for the different connection flavors that
enable/disable combinations of combo boxes or textboxes for users to
edit the variable parts of the string.

-- Mary
MCW Technologies
http://www.mcwtech.com
 
Hello:

What I'm doing now is using MSDAC with
OledbConnections, and particular dialogs for all the other kind of
connection, this solution
is not open, because for some new XXXXConnection, someone will have to write
the code to edit visually the connection string. But if the ConnectionString
has an Editor, maybe it will be a good idea to use it. Im not sure if it is
possible, and that is what im asking. I don't even know if the editors comes
with the framework or with the VisualStudio..
 
Back
Top