The answer to your problem is to use URLEncode or HTMLEncode but Redmond, in all its wisdom, did not supply a Decode method for either of the Encode methods!! (In .NET things are a little different) In any case this page shows you how to write a URL and HTML Decode function.
http://www.aspnut.com/reference/encoding.asp
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature