仅有 增加数据项 和 Filter操作的情况。

解决方案 »

  1.   

    根据需要使用吧。
    Set CacheSize to control how many rows the ADO dataset抯 provider keeps cached in its buffer and how many to retrieve at one time into local memory. Default value of CacheSize is 1 and the minimum allowed value is 1.For example, if CacheSize is set to 20, when the dataset is first activated the associated provider retrieves the first 20 rows into local memory. As the row pointer is moved through this recordset, the provider retrieves the data from the local memory buffer. If the dataset抯 row pointer moves beyond the last of these 20 buffered rows, the provider retrieves the next 20.CacheSize represents the maximum number of rows to retrieve at one time. If the number of rows remaining to be retrieved is less than CacheSize, the remaining rows are retrieved and no exception is raised. The number of rows that can be returned by the provider can be less than all of the rows if the ADO dataset component抯 MaxRecords property is set to other than the default (all rows).Note: The rows retrieved from the cache do not reflect any changes made by other concurrent users of the data.
      

  2.   

    按照李维那本书说的
    cashsize在1000左右最好,还给出测试数据,我没有验证,不过照他的做了
      

  3.   

    while(true)  {}等到上面的运行完 ,大概就有正确的结果了吧(估计你这辈子是白等了,按现在的计算机的速度,地球毁灭的时候不知道能不能结束) 是排列的话就是26 的阶乘 ,不知道楼主想干什么。