Converting a C# DataTable instance to xml that contains HTML or binary data -


hmmm ...

Although it works in most cases, html data in a column It seems that this is doing ...

  stringbilder xmltarget = new stringbilder (); XMLRIRMMMLRR = XMLRR Create (XMLL); TableData.WriteXml (xmlWriter);  

... does not recognize where this html or binary data exists and wraps the data in the cdita tags like ... ...

Should it be ensured that relevant checks have been made and a working XML string has been prepared?

Data format, I assume that the column with html is just a string? If so, you have to wrap it with a CDT tag

I would be happy to prove it wrong.

I do not think there is any magic in it.

Comments