SqlCommand cmd = new SqlCommand(...)
Add such a line of code:
cmd.CommandTimeout = 0;
This will wait as much time as needed for the operation to complete.
No comments:
Post a Comment