Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
Im using a datatable to store appsetting(key-value pairs)and also to store connection string .If i use connection string like this instead of keeping it in app.config does the connection pooling works? pls i need some elaborated explanation for this?
(instead of ConfigurationManager.AppSettings["Connectionstring"] im using a function call to get the value of connection string fron datatable)
Posted

1 solution

Connection pooling depends on the connection string you use to connect. It doesn't depend on where you store the connection string.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 9-Feb-11 7:46am    
Exactly! 5+
Sergey Alexandrovich Kryukov 9-Feb-11 13:44pm    
Enough said. My 5.
--SA
Member 7658277 9-Feb-11 22:39pm    
Thank you Mr. Chris Maunder...
Tech Code Freak 13-Oct-12 5:01am    
5up!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900