For example, I need to fill lots of DataTables with SQLDataAdapter\'s Fill() method:
DataAdapter1.Fill(DataTable1);
DataAdapter2.Fill(DataTable2);
DataAdapte
NECRO ANSWER: The best way is to place the connection in a 'using' statement so that it is scoped to the work it needs to do:
using (SqlConnection conn = new SqlConnection())
{
DataAdapter1.Fill(DataTable1);
DataAdapter2.Fill(DataTable2);
DataAdapter3.Fill(DataTable3);
DataAdapter4.Fill(DataTable4);
DataAdapter5.Fill(DataTable5);
...
...
}