I couldn’t find a way to increase the default command timeout quickly without having to do something complicated so I had to open up my
this.Adapter.SelectCommand = this.CommandCollection;
Then I manually set my command timeout like this:
this.CommandCollection.CommandTimeout = 300; //your command timeout in seconds. this.Adapter.SelectCommand = this.CommandCollection;
Not the most elegant solution, but a good enough emergency fix.
Keep in mind you’ll have to re-add this line when you regenerate your typed dataset from your stored procedure or function.