By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,130 Members | 2,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,130 IT Pros & Developers. It's quick & easy.

How to use connection pool in asp.net?

P: n/a
Thanks.
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Add "pooling=True" to connection string. If you use SqlConnection object

"KeyL" <Ke******@yahoo.com.cn> wrote in message
news:uW**************@TK2MSFTNGP09.phx.gbl...
Thanks.

Nov 18 '05 #2

P: n/a
Hi

The .NET Framework Data Provider for SQL Server provides connection pooling automatically for your ADO.NET client application. You can also supply several connection string modifiers to control connection pooling behavior. See
http://msdn.microsoft.com/library/de...ataprovider.as

Bin Song, MCP
Nov 18 '05 #3

P: n/a
ADO.NET has built in connection pooling.
You don't need to do anything. It is enabled by default and it's
transparent to you.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"KeyL" <Ke******@yahoo.com.cn> wrote in message
news:uW**************@TK2MSFTNGP09.phx.gbl...
Thanks.

Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.