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 @   fannet  阅读(237)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示