On Sat, 05 Jul 2008 20:45:02 -0700, Chris D
<Ch****@discussions.microsoft.comwrote:
Hi Peter - thanks for helping but the following :
sBody += "<a
href='https://dev.onlineforms.phsa.ca/Ccsp/CcspConfirmRegistration.htm?Registrant='"
+ this.registrant.ToString() + ">Confirm Registration</a></p>";
still comes back with the Url below yet Debug returns (String) 67 for
'registrant' & the project builds without error
https://dev.onlineforms.phsa.ca/Ccsp...tm?Registrant=
I'm having a hard time really understanding your question. There's just
so little context and the question itself is hard to parse.
However, given that you've surrounded the text
"https://dev.onlineforms.phsa.ca/Ccsp/CcspConfirmRegistration.htm?Registrant="
with single-quotes, I'm not too surprised that that's what comes back as
the URL. The text you're trying to add to that is outside the
single-quotes and so wouldn't be considered part of the URL (you maybe
should consider yourself lucky you get any URL at all out of that :) ).
Perhaps changing the code to read:
sBody += "<a
href='https://dev.onlineforms.phsa.ca/Ccsp/CcspConfirmRegistration.htm?Registrant="
+
this.registrant.ToString() + "'>Confirm Registration</a></p>";
would work better.
Pete