Bagi saya meningkatkan CommandTimeout memperbaiki masalah.
Contoh kode:
//time in seconds
int timeOut = 300;
//create command
MySqlCommand myCommand = new MySqlCommand(stringSQL);
//set timeout
myCommand.CommandTimeout = timeOut;
Bagi saya meningkatkan CommandTimeout memperbaiki masalah.
Contoh kode:
//time in seconds
int timeOut = 300;
//create command
MySqlCommand myCommand = new MySqlCommand(stringSQL);
//set timeout
myCommand.CommandTimeout = timeOut;