CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Location
    Cincinnati
    Posts
    20

    Special charaters in hyperlinks HTML

    I need a little help...

    I am taking text from a database that is entered by the user and using it as a hyperlink on my site. I'm having difficulities when a user may possibly enter special characters such as &, %, _. I then create the hyper link containing this special character, but when I click on that I get an "Exception Occurred" error.

    Any ideas what I can do about this?



    This is what the one looks like:

    Ampersand Literal (& _)

  2. #2
    Join Date
    Jul 2002
    Location
    India
    Posts
    505

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured