Maybe. It depends on the underlying provider. The OleDb series of methods are just a passthrough to a database vendor-provided library. There are other considerations, such as whether you're running in COM+/EnterpriseServices, if the connection string is identical, and whether you're using integrated security.
You can include the min pool size and max pool size parameters in your connection string, and that might give ADO.NET a hint that you want to use pooling.
Probably the best thing to do is open and close several connections, and monitor from the database side using your DB admin tools to see if they immediately close, or close after a few minutes.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
RamHardikar,
According to Appdev's Mary Chipman "One of the author for Ado.net Traning Ado.NET Training If you use the Same Connection the Provider will keep the connection as is and will not create a new connection
as chip mentioned above, you can test it yourself and monitor the connection pool
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.