好傢伙我對裝載asp.net蓋特問題寶表單標籤問題
我已經使用子頁面的母版頁中有materpage一個表單標籤,我有添加子頁面中的PayPal按鈕這是在這個母版頁的形式標記也是母版<form id="form1" runat="server"></form>
和SUP年齡
<form id="form2" runat="server" name="Paypal" action="https://www.paypal.com/cgi-bin
/webscr"
method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />
<input type="hidden" name="business" value="
<%=System.Web.Configuration.WebConfigurationManager.AppSettings["email"] %>
" />
<input type="hidden" name="item_name_1" value="<%=Session["ItemName"].ToString()%>"
/>
<input type="hidden" name="amount_1" value="<%=Session["ItemCost"].ToString() %>"/>
<input type="hidden" name="quantity_1" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="return" value="<%=Session["returnUrl"].ToString() %>"/>
<input type="hidden" name="lc" value="Stronger" />
<input type="image" src="images/paynow.png" border="0" name="submit" alt="Make
payments with PayPal - it's fast, free and secure!"
style="background: url(images/update-account.png);"/>
</form>
我越來越有子錯誤這一重要
下面的頁面
'/ Project'應用程序中的服務器錯誤。 一個頁面只能有一個服務器端的Form標籤。 描述:執行當前Web請求時出現未處理的異常。請查看堆棧跟蹤以獲取有關該錯誤的更多信息以及源代碼的位置。
異常詳細信息:System.Web.HttpException:一個頁面只能有一個服務器端的Form標籤。
任何人都有一個想法我怎麼能在子頁面中使用窗體標籤也。
我發現,現在螞蟻的解決方案也工作得很好我要添加ANS的可質疑的希望也將幫助全給你。 –