i have following problem
I enter some data into column of sql server2005 .Then try fetching it using sqlreader in c# using a stored proc.When i try to execute the stored procedure i m getting proper data.
data i m enetring is <table><tr><td><img src="hello.jpg" /></td></tr></table>
and it comes fine when i try in sql server only but when i fetch it in my appliaciton using sqlreader and stored proc.it comes to me as
<table><tr><td><img src=\"hello.jpg\" /></td></tr></table>
So blackslash is getting appended by itself to the double quotes.I am fetching thsi field in string variable
still trying to replace it in code behind using string.replace but it sodesnt allow me to use string.replace("\"",""").
Giving me errors.
can any1 suggest a way that data shud be comming up normaly in c# file than appending these special characters into it.