把DataSetProvider控件的ResolveToDataset属性设为False,应该就可以把。

解决方案 »

  1.   

    to wafeijian(韵杰〖痛并快乐着……〗) :你的方法可能不行,参考HELP如下:
    Specifies whether updates should be applied to a dataset or directly to the database server.property ResolveToDataSet: Boolean;DescriptionSet ResolveToDataSet to specify how updates are applied. When ResolveToDataSet is True, the Resolver property is set to a TDataSetResolver component, which applies updates directly to the dataset specified by the DataSet property. This can be useful if the application uses the events on the dataset component or if the dataset does not represent the data from a database server (for example, a client dataset).When ResolveToDataSet is False, the Resolver property is set to a TSQLResolver component, which applies updates directly to the database server associated with DataSet. This can be more efficient, because it skips the intermediate step of using the dataset.ResolveToDataset属性是该控件的缺省值,我在应用中根本没有用他。后来,我想到在做DML时,新开ADOEXPRESS,效果如何,是够才知。