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
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
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
"RICK" <RICK@xxxxxx> wrote in message
news:8CDC5E06-7A67-415D-BAA0-2B1503598AE3@xxxxxxIn SQL Server if field or table names have special characters I enclose in
> 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
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
--
| 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 |