Connection Timeout on aSQLDataAdapter

  • Thread starter Thread starter Jeffrey Bradshaw
  • Start date Start date
J

Jeffrey Bradshaw

IS there any way to set the connection timeout on a SQLDataAdapter? I want
to fill a dataset but I can't set any way to change the timeout.

TIA.

Jeffrey
 
Hi Jeffrey:

Remember that there are two timeouts that you can deal with, the
connection's timeout property and the command's timeout property. The
connection's is read-only and can only be specified by setting it in the
connection string. The command you can set manually. You may want to
manipulate both but usually, if your connection times out, you have issues.

HTH,


Bill

www.devbuzz.com
www.knowdotnet.com
 
Back
Top