S
Shimon Sim
I have big application that uses first version of DAB. It could be just
regular performance problem though.
I just noticed that I have major problem with connection pooling.
My connection string saved in web.config file so it should be the same for
all the connections.
I use a lot of SqlDataReader s since it is web application and try to stick
to following code
using(SqlDataReader rd=...)//this line is my class with method but it boils
down to ExecuteReader of SqlHelper class
{
//populating repeater
rpt.DataSource=rd;
rpt.DataBind();
}
Amount of connection grows to 30+ within first min of fast clicking between
links.
I also checks using my NUnit tests the same problem (event with
ExecuteNonQuery(...))
Please if anyone can still help with the first version. I don't know where
could be the problem.
Thank a lot.
Shimon.
regular performance problem though.
I just noticed that I have major problem with connection pooling.
My connection string saved in web.config file so it should be the same for
all the connections.
I use a lot of SqlDataReader s since it is web application and try to stick
to following code
using(SqlDataReader rd=...)//this line is my class with method but it boils
down to ExecuteReader of SqlHelper class
{
//populating repeater
rpt.DataSource=rd;
rpt.DataBind();
}
Amount of connection grows to 30+ within first min of fast clicking between
links.
I also checks using my NUnit tests the same problem (event with
ExecuteNonQuery(...))
Please if anyone can still help with the first version. I don't know where
could be the problem.
Thank a lot.
Shimon.