I want to set the querytimeout from the connection string. not the connection timeout, is it possible?
No. It's per command, not per connection.
Edit, May 2013
As requested in comment:
Some more notes about commands and execution time outs in SQL Server (DBA.SE). And more SO stuff: What happens to an uncommitted transaction when the connection is closed?
1.4m articles
1.4m replys
5 comments
57.0k users