Click here to Skip to main content
15,912,756 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi to all,

I'm have a Description field in which is having bulk of text including special characters like !,@,#,.. ",'

When the single quote comes, it not inserted.

I try the repalce().
I'm using C#

Can you tell me the solutions
Posted
Updated 25-Nov-10 23:10pm
v2
Comments
Sandeep Mewara 26-Nov-10 4:46am    
Show us the line of code that inserts the description.
Dalek Dave 26-Nov-10 5:10am    
Edited for Grammar and Syntax.

1 solution

Thats the reason why everyone suggest to use parameter (assuming you are not doing so).

See Here [^] or google and try yourself
 
Share this answer
 
v2
Comments
Dalek Dave 26-Nov-10 5:11am    
You tell 'im!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900