Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top" id="form1"
name="form1">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="M2UBLPYNWNZDW">
<input type="hidden" name="business" value="123@gmail.com">

<input type="hidden" name="on0" value="buypoint">buypoint
<select name="os0">
<option value="2 Song">2 Song $1.00 USD</option>
<option value="10 Song + 4 Free">10 Song + 4 Free $5.00 USD</option>
<option value="20 Song + 10 Free">20 Song + 10 Free $10.00 USD</option>
<option value="1 Year">1 Year $35.00 USD</option>
</select>

<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" önclick='return optionCheck();'>
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="notify_url" value="http://www.123.com/IPNHandler.aspx">
</form>


how to get paypal value in dropdown list and updated to sql server database in C#
got any expert know it?
thank
Posted
Updated 28-Apr-13 14:46pm
v4
Comments
Zoltán Zörgő 28-Apr-13 2:08am    
No, I think no expert can get it, since your question makes no sense. Please try to improve it. First of all make "java to c#" expression vanish, and explain what is the concrete issue you want to solve.
kangyi.lee 28-Apr-13 20:45pm    
ok, cause i still new, quiet not sure, now i rechange question, hope u understand
Zoltán Zörgő 29-Apr-13 0:34am    
Still not clear at all. Your form data is sent to a paypal url when submit button is pressed. I suppose you added this form to your application to a page. You can however intercept dropdown changes or form submission with JavaScript and make an ajax call to an other server and send the desired data. This is what you want?
But this is a html/javascript topic. The other one is to store that value in a database.

So your question is clearer, but still not at a detail level to be answered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900