how to use class file for multiple connection in C#?

Jul 25 2016 2:08 AM
http://www.c-sharpcorner.com/forums/asp-net-how-to-use-class-file-for-connection-in-c-sharp
 
 in this link only singale connection string is in use but i need to declare multiple connection string in class file and use in hole application.
originally its like one application with multiple database. all database having same schema.user select the database name from dropdown then on dropdown selection the user must be redirect to its selected database. means i have to manage multiple connections of database on dropdown selection
my application requires to select the connection string on dropdown selection. 

Answers (7)