Connecting Tech Pros Worldwide Forums | Help | Site Map

Regarding to CommandTimeout property

Newbie
 
Join Date: Nov 2008
Posts: 4
#1: Nov 21 '08
I would like to increase the CommandTimeout time 30 sec to maximum value like 100 or 200 .But I dont know I can I set it.Any one can help me.While I am exporting the Data base huge data to Excel or pdf .It is going to be showing Timeout Expires exception at exceutereader(0 command.


Thanks & Regards,
Venkat

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Nov 21 '08

re: Regarding to CommandTimeout property


As easy as
Expand|Select|Wrap|Line Numbers
  1. myCommand.CommandTimeout = 200;
Reply