Page 1 of 1

Anyway to set default timeout for sqlcommand?

Posted: Wed 05 Oct 2005 16:55
by lyc
Anyway to set default timeout for sqlcommand?

Posted: Thu 06 Oct 2005 08:59
by Serious
See MySqlCommand.CommandTimeout property.
This property gets or sets the time (in seconds) to wait for the command to execute. The default value is 30 seconds.