ASP.net 2.0 Concatenating a VarChar and a String and getting extra characters???

Here is my code:
READERWEBSTORE(0) IS A VARCHAR!!!
My ASP.net 2.0 code:
            Dim readerWebStore As SqlDataReader = commandGetWebStore.ExecuteReader()
            While (readerWebStore.Read())
                paramGetWebStore = readerWebStore(0).ToString
            End While
            oSQLGetWebStore.Close()
            paramGetWebStore = "https://www.paypal.com/cgi-bin/webscr?cmd=_cart&business=" & paramGetWebStore & "&display=1"
            imgCart.OnClientClick = paramGetWebStore
''''''''''''''''''''''''''''''''''
Now, I'm trying to set the cart to something like this:
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&me@myemailadress.com&display=1
but I'm  getting this:
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&me@myemailadress.com&display=1;
Now, if we compare the two, we can see that a "amp;" was added twice and a ";" at the end of the string. This seems like something simple I should know, but I can't think of why this happens. Please help, thanks; Chris.
jumpstart0321Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zkeownCommented:
Then & for ampersand is normal... to have valid (X)HTML they have to be encoded that way.

I'm at a loss on the ; though...
0
jumpstart0321Author Commented:
I cannot have the &amp in there though... You can actually try the two different links in your browser to see that the &amp screws up the url:
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&me@myemailadress.com&display=1
works
and
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&me@myemailadress.com&display=1
doesn't work.
Perhapys asp.net automatically converts the "&" to "&amp" when I assign the string to "imgCart.OnClientClick"???
0
ArlowinCommented:
well, the easy way out would be, right after:
paramGetWebStore = "https://www.paypal.com/cgi-bin/webscr?cmd=_cart&business=" & paramGetWebStore & "&display=1"

do this:
paramGetWebStore = replace(paramGetWebStore,"&","&")
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.