Thursday, March 29, 2012
Does SqlDataSource hold the connection ?
If we bind a GridView to a SQLDataSource, is it not a connected usage, which locks up one connection thread ?I don't think so. Once it's databound the connection should be closed. Any sorting or paging will open a new connection.|||No, the connection will be closed. However, you may tie up a connection on the server for a little while if you have connection pooling turned on.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment