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. #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

  3. #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 problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Live Messenger signs in and then signs out within seconds RandyW Live Messenger 1 16 Nov 2009
application installer wants XP sp1 or greater... Frank Vista General 2 28 Nov 2006
build 5800 or greater cbdeans Vista General 12 03 Nov 2006
Greater Than on doubles =?Utf-8?B?UGF1bA==?= PowerShell 3 01 Sep 2006
New HDD - greater performance? Marc Nutty Vista General 7 10 Jul 2006