我正在使用带有C#的VisualStudio2008。我有一个.xsd文件,它有一个表适配器。我想更改表适配器的命令超时。感谢您的帮助。 最佳答案 通过一些小的修改,csl的想法很有效。partialclassFooTableAdapter{/****SettimeoutinsecondsforSelectstatements.**/publicintSelectCommandTimeout{set{for(inti=0;i要使用它,只需设置this.FooTableAdapter.CommandTimeout=60;在this.F