baxtalo
asked on
HTML tags are returned from the SQL Server database
My users submit their text with a wysiwyg text editor. When I return the submitted values the HTML tags are also returned. How could I avoid this and see the formatted text instead?
Any help is appreciated.
<asp:BoundField HeaderText="Message" DataField="Message" ItemStyle-HorizontalAlign= "Left" ></asp:BoundField>
Any help is appreciated.
<asp:BoundField HeaderText="Message" DataField="Message" ItemStyle-HorizontalAlign=
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<asp:TemplateField HeaderText="Message" ItemStyle-HorizontalAlign=
<ItemTemplate><%# Eval("Message") %>
</ItemTemplate>
</asp:TemplateField>