Sometimes a query can take a long time to complete, for example with data-processing stored procedure calls. With Adapter, you can set the timeout for each query on a per-call basis, using the property** DataAccessAdapter.CommandTimeOut**. The default is 30 (seconds). Firebird and SqlServer CE don't support command timeouts and a CommandTimeOut value is ignored.
You can set a timeout (in seconds) for all commands executed using the setting in the DataAccessAdapter.CommandTimeOut property. It doesn't hurt to use a timeout larger than what you actually need, so setting it to 1 minute to make sure a long running query will succeed is not degrading performance in your application. If a connection to the database is not available, it will however then take longer to timeout. ADO.NET's default is 15 seconds, the default in the templates is set to 30 seconds.
So, my recommendation would be: set the CommandTimeOut to make sure the longest running query will succeed.