Timeout error: adaptor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm getting a timeout error at the following line (Line 1). I tried typing
Line 2, but getting a compilation error (saying not an instance). How can I
set a commandTimeOut value in this situation?

this.tbl_ge_media_logTableAdapter.Fill(this.dB_CAIRS_LOCALDataSet.tbl_ge_media_log);

//this.tbl_ge_media_logTableAdapter.Adapter.SelectCommand.CommandTimeout =
5000;
 
You can create a partial class of the table adapter class generated by the
dataset designer and add a method to change the command timeout of the
select command
 
Back
Top