Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
<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 27-Apr-13 19:11pm
Edited 28-Apr-13 15:46pm
v4
Comments
Zoltán Zörgő at 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 at 28-Apr-13 20:45pm
   
ok, cause i still new, quiet not sure, now i rechange question, hope u understand
Zoltán Zörgő at 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)

  Print Answers RSS
0 OriginalGriff 7,800
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,790


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 28 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100