Timeout error

Timeout error

am 04.10.2007 16:56:01 von rkbnair

I'm trying to pull about 50,000 records using the following command.

this.tbl_ge_media_logTableAdapter.Fill(this.dB_CAIRS_LOCALDa taSet.tbl_ge_media_log);

However, I get the following error:


"timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding."

I tried:

this.tbl_ge_media_logTableAdapter.Adapter.SelectCommand.Comm andTimeout = 5000;
But I'm getting a compilation error.

How can I specify a timeout?