문제

I am trying to sync a table with xml field in it using MS Sync Framework 2.1 and I am getting this error '.', hexadecimal value 0x00, is an invalid character.

Does anyone know how to skip rows with invalid xml data during sync?

도움이 되었습니까?

해결책

if the error is being raised in the ApplyChangeFailed event, then you simply skip it.

or you can intercept the xml data in the ChangesSelected event, validate the xml, then remove them from the change dataset if invalid

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top