That's the way I do my requests now, but also there is the problem that for each request a new real connection is opened and not really closed. My DBA says there are x connections after x requests. How can I avoid this? How can I clear the connection to the DB really???
Code:
public DataTable Request()
{
try
{
using (OleDbConnection connection = new OleDbConnection(Constants.DB2_CONNECTION_STRING))
Leave a comment: