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

Similar Threads
Thread Forum
Windows Live Messenger signs in and then signs out within seconds
I recently migrated to Windows 7 RTM. I had been using Windows 7 RC with MSN Messenger 8.5. Whenever Windows Live Messenger signs in it signs out...
Live Messenger
The CSR key length must be greater then 2048 and less then 4096
I had to rekey my certificate from godaddy. And it turns out the sbs 2003 CSR is 1024, which they no longer accept. Any suggestions on how to...
SBS Server
Windows backup greater flexibility
I just tried windows backup using a networked computer. Backup finished fine however it did not backup any of the files that I desired it to. All of...
Vista performance & maintenance
application installer wants XP sp1 or greater...
I try to install Cisco's IP communicator 2.0 and the installer stops and says that it needs win2000 sp3 or XP sp1 or greater a nd then it aborts.......
Vista General
build 5800 or greater
How does one go about getting the latest and greatest of all the beta versions of vista. How do you qualify? I sever al students on several...
Vista General
Greater Than on doubles
Can anyone tell me why "hehehehe" isn't displayed? $d1 = 0.5 $d2 = 0.0049 if ($d1 -gt $d2) { write-output "hehehehe" }
PowerShell
New HDD - greater performance?
Hi, The desktop I'm running Vista on only has a 40GB (3-4 year old) HDD in it. I've already improved the RAM and Graphics Card and seens HDDs...
Vista General