Posts Tagged ‘InvalidOperationException’

InvalidOperationException : There was an error in XML document

This error occurred when there is an invalid character on the data. Before adding/saving to the datatable you need to replace the invalid character. The known invalid character is the null.

To replace it in vb.net
dim mData As string
Strings.Replace(mData, vbNullChar, “”)

No Comments



SetPageWidth