답변 here에서 가져옵니다.
YourDataSet.Designer.cs:
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM dbo.Table";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].CommandTimeout = 1000; //Timeout in seconds
}
: 당신이 강력한 형식의 TableAdapter에를 사용하는 경우
당신은 _commandCollection에서 명령 (들)의 CommandTimeout이 속성을 설정하여 생성 된 코드를 수정해야