How to set commandTimeout for getData method of TableAdapter (ASP.NET 2.0)?

  • Thread starter Thread starter Piotrek
  • Start date Start date
P

Piotrek

Hi all.

I am developing some web application in which I use datasets, which
were generated using dataSetDesigner. My dataset has a TableAdapter,
which has GetData method. Users of my application sometimes get timeout
while executing this GetData method.

I would like to increase CommandTimeout for this GetData method, but I
cannot find this property. How can I do that?

Thanks in advance,
Piotrek
 
Hi Brock

I am not sure if it is possible to set CommandTimeout in the connection
string. In my opinion only connectionTimeout can be set there.

Piotrek
 
Back
Top