I will say the this type of code i.e., embedding the UI code in the database
is not standard way. When you
do a code it should follow tier architecture so, that the presentation and
business logic
will be separated. And, other demerit of this code is ,even if asp is
accepting a request data which contains
a html elements will not safe as it might get hacked by the users.
If you allow html tags in your user input forms, one can execute a
javascript located in somewhere else
to do some unwanted activities.
So, my suggestion is avoid this kind of code and try to be more standard
in your coding strategies.
--
Vadivel Kumar
http:\\charpblogs.blogspot.com
"Deepak Mehta" <de********@gmail.com> wrote in message
news:b0************************@posting.google.com ...
I hv to store data with HTML tags in database. user will input data
with html tags for e.g.<strong> Name <strong>. And when i will read
data in webpage then "Name" should eb bold. but i m getting problem in
storing data in database.
When i input text with html tags in textbox and click on
submit...Following error comes:
A potentially dangerous Request.Form value was detected from the
client (textbox11="<strong>...").
Plz Help...