T
Tony M
having trouble posting question so I apologies if it's repeated.
vs 2005 - webforms - vb .net
I'm trying to learn how to post a form (ie send info to PayPal)
When I use the strings below (partial code), paypal returns an error to me.
I tried (from a sample paypal class),
oPayPalForm = "<input type='hidden' name='quantity_" + nItemCount + " '
value=\" & strQuantity + " \ >"
and
oPayPalForm = Chr(60) & "input type='hidden' name='quantity_" + nItemCount +
" ' value=\" & strQuantity + " \ >"
neither way works, so I'm trying to figure out why.
Both statements return a char length of 52, but I cannot display the
contents in a label. ie (label1.text = oPayPal) displays nothing.
It's the < char. if I remove it I can see the string, when I add it back
nothing is displayed.
So I'm not sure what the resulting form post looks like?
The original sample (class) used stringbuilder and the same problems exist.
Thanks
vs 2005 - webforms - vb .net
I'm trying to learn how to post a form (ie send info to PayPal)
When I use the strings below (partial code), paypal returns an error to me.
I tried (from a sample paypal class),
oPayPalForm = "<input type='hidden' name='quantity_" + nItemCount + " '
value=\" & strQuantity + " \ >"
and
oPayPalForm = Chr(60) & "input type='hidden' name='quantity_" + nItemCount +
" ' value=\" & strQuantity + " \ >"
neither way works, so I'm trying to figure out why.
Both statements return a char length of 52, but I cannot display the
contents in a label. ie (label1.text = oPayPal) displays nothing.
It's the < char. if I remove it I can see the string, when I add it back
nothing is displayed.
So I'm not sure what the resulting form post looks like?
The original sample (class) used stringbuilder and the same problems exist.
Thanks