Hello EveryOne,
I have a record in gridview contains string with special character like single quotes( ' ) etc..
I've a edit button in gridview when i click on edit button of any record of Gridview then corresponding record shown to text box.
but on that time single quote looks like below
before edit button click string in gridview cell
a testimonial or show consists of a person's written or spoken statement
after edit button click string in textbox
a testimonial or show consists of a person's written or spoken statement
but when i click update button shows following error
"A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$tb_comment="...f a person's written or sp...")"
what is the solution so that single quote shows as it orginal format as it looks in gridview cell when i click on edit button.
please share your solution.