Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 07, 2012 01:22 AM by Catherine Shan - MSFT
Nov 30, 2012 04:11 PM|LINK
I have a text box that my user creates headlines for articles with. He copies and pastes from Word. I place the headline in both a text file and in the database. He uses characters like ‘ “” ‘’ (windows-1252 characters) they store to the text
file fine as I using ISO-8859-1 encoding. But when I use a store procedure using a sqlcommand in C# they store as '?'. Now when I go to the database directly and use management studio and execute the store procedure it stores just fine. What is up?? I
am losing hair over this problem. I know I can do a replace in C# but it seems like I shouldn't have to.
Dec 07, 2012 01:22 AM|LINK
Welcome to ASP.net forum!
But when I use a store procedure using a sqlcommand in C# they store as '?'.
In order to resolve your issue, please share the corresponding code which wil help us continue.