<form id="form1" runat="server" action="https://www.sandbox.paypal.com/cgi-bin/webscr"> <div> <asp:Image ID="Image1" runat="server" Height="154px" ImageUrl="~/bike.jpg" Width="284px" /> <br /> Name : <asp:Literal ID="ltr_bikename" runat="server"></asp:Literal> <br /> Price : <asp:Literal ID="ltr_bikeprice" runat="server"></asp:Literal> <br /> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/button.gif" onclick="ImageButton1_Click" /> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="*********@gmail.com" /> <input type="hidden" name="item_name" value="<% Response.Write(ltr_bikename.Text.ToString()); %>" /> <input type="hidden" name="amount" value="<% Response.Write(ltr_bikeprice.Text.ToString()); %>" /> <input type="hidden" name="shipping" value="3.00" /> <input type="hidden" name="handling" value="2.00" /> </div> </form>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)