protected void PayWithPayPal(string amount, string itemInfo, string name, string phone, string email, string currency)
protected void btnPay_AsPerYourChoice(object sender, EventArgs e) { PayWithPayPal(txtAmount,txtPurpose,txtName,txtPhone,txtEmailId,ToString().(ddlCurrency.SelectedItem)); }
<asp:DropDownList runat="server" ID="ddlCurrency" Style="margin-left: 42px; width: 204px; background-image: transparent url('../images/txtBoxbg.jpg') no-repeat;"> <asp:ListItem>- Select -</asp:ListItem> <asp:ListItem>INR</asp:ListItem> <asp:ListItem>USD</asp:ListItem> <asp:ListItem>EURO</asp:ListItem> <asp:ListItem>Pound</asp:ListItem> </asp:DropDownList>
PayWithPayPal(txtAmount.Text,txtPurpose.Text,txtName.Text,txtPhone.Text,txtEmailId.Text,ddlCurrency.SelectedItem.Text)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)