This example explains how to build a connection pool to the data source. This action is required to deploy high-performance applications. In this example, the pool is established in the connection string and is automatically managed by SqlConnection.
VB ConnectionPooling.aspx
[
Run example] | [[[[
View Source Code]
In this example, the pool characteristics are specified in the connection string when constructing the SQLConnection, as shown in the following code example. Note: The pool processing is implicit unless it is disabled, it will automatically perform pool processing. Therefore, "True" is the default pool keyword (pooling = true).