FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

İ didnt paste html codes from db

Last post 05-15-2008, 5:42 AM by Gummie1979. 1 replies.
Sort Posts: Previous Next
  •  05-15-2008, 4:42 AM 9154

    İ didnt paste html codes from db

    hi all,

    i have a problem, when i paste data from db to freetextbox editor, the editor show html codes like <p> hi all, </p> on design mode.

    anybody know this problem?

  •  05-15-2008, 5:42 AM 9155 in reply to 9154

    Re: İ didnt paste html codes from db

    i found a solution

    The sql server security is change some characters

    when read data from db and the function works

     

    Function htmlyecevir(ByVal a As Object)

    Dim strout As String = a

    strout = Replace(strout, "&lt;", "<")

    strout = Replace(strout, "&gt;", ">")

    Return strout

    End Function

View as RSS news feed in XML
www.freetextbox.com