2011-05-05 49 views

回答

1

我發現一種方法來確定待處理的行(即尚未同步的行):

Dim provider = DirectCast(SyncAgent.LocalProvider, SqlCeClientSyncProvider) 
Dim testBeforeSync = provider.GetChanges("tblBarCodeScanning") 
'contains all the pending rows, all the other rows are already synchronized and can be deleted! 
Dim table = testBeforeSync.DataSet.Tables(0) 
相關問題