Hi all I know nothing about ASP.NET at all. Can someone tell me if there is an equivalent to PHP's urlencode and htmlspecialchars? If not, is there a simple way that this can be replicated so that XHTML isn't littered with unencoded & characters? Regards Francis