Thursday 17 January 2008

Typed DataSet and CommandTimeOut

To set the command timeout on a typed dataset:

Modify the InitCommandCollection() method in the Dataset.designer.cs class

add:


this._commandCollection[0].CommandTimeout = 90;

this._commandCollection[1].CommandTimeout = 90;