Windows Vista Forums

less than and greater than signs/response.write

  1. #1


    RICK Guest

    less than and greater than signs/response.write

    Pulling data from a database with response.write. The fields have "<" and
    ">" signs. How can I get the full field to display. Currently, the fields
    are being truncated at the signs.

    Rick

      My System SpecsSystem Spec

  2.   


  3. #2


    Tim Williams Guest

    Re: less than and greater than signs/response.write

    response.write Server.HTMLEncode(yourtext)

    http://msdn.microsoft.com/en-us/library/ms525347.aspx

    Assuming you mean ASP...

    Tim

    "RICK" <RICK@xxxxxx> wrote in message
    news:8CDC5E06-7A67-415D-BAA0-2B1503598AE3@xxxxxx

    > Pulling data from a database with response.write. The fields have "<" and
    > ">" signs. How can I get the full field to display. Currently, the
    > fields
    > are being truncated at the signs.
    >
    > Rick


      My System SpecsSystem Spec

  4. #3


    Richard Mueller [MVP] Guest

    Re: less than and greater than signs/response.write


    "RICK" <RICK@xxxxxx> wrote in message
    news:8CDC5E06-7A67-415D-BAA0-2B1503598AE3@xxxxxx

    > Pulling data from a database with response.write. The fields have "<" and
    > ">" signs. How can I get the full field to display. Currently, the
    > fields
    > are being truncated at the signs.
    >
    > Rick
    In SQL Server if field or table names have special characters I enclose in
    square brackets, "[]". Or, you may need to "escape" the characters. The
    escape character depends on your DBMS.

    --
    Richard Mueller
    MVP Directory Services
    Hilltop Lab - http://www.rlmueller.net
    --



      My System SpecsSystem Spec


less than and greater than signs/response.write
Similar Threads
Thread Forum
Windows Live Messenger signs in and then signs out within seconds Live Messenger
application installer wants XP sp1 or greater... Vista General
build 5800 or greater Vista General
Greater Than on doubles PowerShell
New HDD - greater performance? Vista General