Config files are the standard way to store things like connection
strings.

-----Original Message-----
From: Daniel Morgan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 8:14 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Storing ADO.NET Connection String Parameters

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