M
michael
I get the following error waiting for the completion of a query:
Error: Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not responding.
I need to increase the time allowed for execution of a query. I know that I
need to change the value of the CommandTimeout of the command object.
However, I'm using a TableAdapter. I can't get to the SelectCommand property
of the TableAdapter's Adapter.SelectCommand because this object doesn't seem
to be created until you fire the GetData or Fill method.
Does anyone know how to set the CommandTimeout property when that property
is somewhere in a TableAdapter?
Error: Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not responding.
I need to increase the time allowed for execution of a query. I know that I
need to change the value of the CommandTimeout of the command object.
However, I'm using a TableAdapter. I can't get to the SelectCommand property
of the TableAdapter's Adapter.SelectCommand because this object doesn't seem
to be created until you fire the GetData or Fill method.
Does anyone know how to set the CommandTimeout property when that property
is somewhere in a TableAdapter?