Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 'for xml' stored proc returning unwanted chars '\'

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-01-06 : 08:34:12
goran writes "hi,

i'm simply trying to return an xml packet from a sql server stored procedure.

when i execute the stored procedure using enterprise manager it seems ok, but when i retrieve it using c# in .net web app it seems to contain many '\' characters.

e.g. <row BulletinId=\"1\" ParentId=\"0\"

any ideas?

thanks for your help

gordon"

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-01-06 : 12:11:51
do you have some double quotes (") in your data? if so then Vs.Net would need to escape them -> \".

Go with the flow & have fun! Else fight the flow
Go to Top of Page
   

- Advertisement -