I'm pretty sure I've written actual "&" to sql server before and not seen it
converted. If you didn't catch it in my post, what I find really odd is that
it's not the original & in the xml going into the sql table field, the
value is
&
My schedule the next couple of days won't afford me a chance to debug this,
thanx for telling me what to check, hopefully I can get back to it first of
the week. While I'm working on another project seemed like a good time to
multi-task this inquiry ;-)
I did post a code snippet, see my other response post.
David Bartosik
Microsoft MVP
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:U0**************@TK2MSFTNGXA02.phx.gbl...
Hi David,
As far as I know, when you load the Xml data into the XmlDocument class,
the & will be converted to & automatically. This is the default
decoding. Will that be encoded again when data writes to SQL server?
Please
check this in XmlDocument in local memory first. If that is not the case,
could you paste your code here?
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."