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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top