Link to home
Start Free TrialLog in
Avatar of ANAT2403
ANAT2403Flag for Israel

asked on

problematic data in sqldatasource

I am using VS2005 ASP.NET 2.0 SQL Server 2000.
In my database I have a record that contain a text field that contains the value: "  Our Reference: <<ID>>/<<CODE>>"
When I load this record to my gridview through the sqldatasource I get it OK but when I want to update the record or insert a new line I get the following error:
A potentially dangerous Request.Form value was detected from the client (GVEmailTemplates$ctl02$BODYselect="...ference: <<ID>>/<<CODE>>
How can I manage a problematic data?
ASKER CERTIFIED SOLUTION
Avatar of lijunguo
lijunguo
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ANAT2403

ASKER

excellent, wonderful,  This question was deleted today after 3 weeks that nobody looked at it and I tried again and
you solved it. I have no words to thank you.
Can you please take a look at the following problem that nobody manage to solve?

https://www.experts-exchange.com/questions/21799079/databind-in-formview.html