plz help me
i m making a quiz site in which we are binding answers in radio buttons using gridview.When we are binding html <tag> based answers like this
A.<hr>
B.<line> (correct Ans)
C.<horizontal line>
D.<tr>
the problem is that at the time of display, it display a horizontal line instead of text.
i also try these :--
<%# System.Web.HttpUtility.HtmlEncode((string)Eval("A")) %>
<%# server.HtmlEncode(Bind("B"))%>
but it responds the error ...
the "bind" doesn't exist in the correct context.
the "server" doesn't exist in the correct context.
so plz tell me how to display these html tags in text form.
Thanks
With Regds
Preeti
1 reply to this topic
#1
Posted 27 April 2010 - 11:47 PM
|
|
|
#2
Posted 28 April 2010 - 04:09 AM
haven't you read my previous answer:mad: !! btw no double posting :rules:
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









