SQL ServerのSelect文のTimeout設定方法
SqlDataAdapter daAuthors = new SqlDataAdapter(strSQL, objConn);
daAuthors.SelectCommand.CommandTimeout = intLockTimeOut;
tblAuthors = new DataTable();
daAuthors.Fill(tblAuthors);
SqlDataAdapter daAuthors = new SqlDataAdapter(strSQL, objConn);
daAuthors.SelectCommand.CommandTimeout = intLockTimeOut;
tblAuthors = new DataTable();
daAuthors.Fill(tblAuthors);