I'm trying to populate a datagrid column with the paypal buy now button HTML that I am storing in my database. My goal is to have a table with merchandise information and a column that holds all HTML for the individual buy now buttons. Granted, this might not be the best way to do this, but I'm muddling through.
How can I go about generating the following sample dynamically from a database to a datagrid?
How can I go about generating the following sample dynamically from a database to a datagrid?
Code:
<form action="[URL unfurl="true"]https://www.paypal.com/cgi-bin/webscr"[/URL] method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="[URL unfurl="true"]https://www.paypal.com/en_US/i/btn/x-click-but23.gif"[/URL] border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIH... lots of characters...FaWCmOBKg==-----END PKCS7-----
">
</form>