且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SQL Server中的超时错误

更新时间:2022-06-09 23:30:17

您需要 连接对象的ConnectionTimeout 属性 - CommandTimeout 是不同的东西!
You need the ConnectionTimeout property of the Connection object - the CommandTimeout is something different!


你好



你刚刚添加



command.CommandTimeout = 0;


快乐编码





谢谢

Abhimanyu Rawat
Hello

you just add

command.CommandTimeout = 0;

happy coding


Thanks
Abhimanyu Rawat