G
Guest
Is there a way to explicitly escape special characters (particularly &
(&
and ' (&apos
) when writing a data set with the WriteXml
method?
I know this is supposed to happen automatically (according to MS), but
in my case, it doesn't. I'm pulling data from MS-SQL with c#, filling
data tables with SqlDataAdapter and a query, adding tables to a
DataSet, then WriteXml to a file.
(&


method?
I know this is supposed to happen automatically (according to MS), but
in my case, it doesn't. I'm pulling data from MS-SQL with c#, filling
data tables with SqlDataAdapter and a query, adding tables to a
DataSet, then WriteXml to a file.