Hi all -
I have a VS.Net 2003 web app that is used at my employer to gain accesss to
a password database. When the password page is loaded a server is selected
in a listbox and the passwords for that server are displayed in a datagrid.
Recently someone entered a password of D&Lxxxxx. When this is displayed in
the datagrid it shows as D<xxxxx, instead of D&Lxxxxx. How do I prevent the
&L from being translated into a less than symbol?
Thanks for your time
Matt
Elton Wang - 23 Mar 2006 03:52 GMT
Try
Server.HtmlEncode
HTH
> Hi all -
>
[quoted text clipped - 10 lines]
>
> Matt
md - 23 Mar 2006 14:11 GMT
Yes, it helped a great deal. Thanks!
Matt
> Try
>
[quoted text clipped - 16 lines]
>>
>> Matt