Command TimeOut Data Access Application Block

  • Thread starter Thread starter Craig Thompson
  • Start date Start date
C

Craig Thompson

Does anyone know of a way to set the Command TimeOut when you are using the
DAAB? Am I going to have to modify DAAB code to accept a new parameter?...
BTW, setting the connection timeout in the connection string doesn't help my
problem.

Thanks,
Craig
 
You can try this

SqlCommand command = new SqlCommand();
command.CommandTimeout = 100;


Hope this help.
 
Back
Top