I have few GridView controls attached to SqlDataSource. The SqlDataSource is bind to the connection string in web.config file. In a concurrent environment, the SqlDataSource starts picking cached or probably other user's data.
How to safely use SqlDataSource in a concurrent environment and how to dispose it?
rpk2006
Member
631 Points
629 Posts
Why SqlDataSource picks wrong data in a concurrent environment?
Feb 25, 2012 07:43 AM|LINK
I have few GridView controls attached to SqlDataSource. The SqlDataSource is bind to the connection string in web.config file. In a concurrent environment, the SqlDataSource starts picking cached or probably other user's data.
How to safely use SqlDataSource in a concurrent environment and how to dispose it?