The config file is the natural place.  Search the docs for AppSettings.

Steve Holak
Senior Software Architect

Brokerage Concepts IS Dept.
610-491-4879

email:  [EMAIL PROTECTED]



                    Daniel Morgan
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    >                         cc:
                    Sent by: dotnet           Subject:     [DOTNET] Storing ADO.NET 
Connection String Parameters
                    discussion
                    <[EMAIL PROTECTED]
                    VELOP.COM>


                    04/22/2002 09:13
                    PM
                    Please respond to
                    dotnet discussion






Is there an official Microsoft .NET way to store ADO.NET Connection
String parameters?  If not, what do you recommend for storing connection
data for an ADO.NET data source?  I would assume storing it in some XML
format.

Let's say I have multiple databases on different servers using different
database software.  This would mean different User ID/Password and other
keywords in the connection string.   These database engines could be
Microsoft SQL Server 2000, an older Microsoft SQL Server 6.5, Oracle 7,
Oracle 8, Oracle 8i, Oracle 9i, Sybase, MySQL, PostgreSQL, etc. in a
large corporate environment.

The connection string data would be depend on the provider using it.

Thanks,
Daniel

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to