ado.net 超时问题

Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

设置 command.CommandTimeout = 0

在连接字串中添加Connect Timeout=120

posted @ 2012-07-09 17:04  fannet  阅读(235)  评论(0编辑  收藏  举报