Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
设置 command.CommandTimeout = 0
在连接字串中添加Connect Timeout=120
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
设置 command.CommandTimeout = 0
在连接字串中添加Connect Timeout=120
转载于:https://www.cnblogs.com/yfann/archive/2012/07/09/2583018.html