我一直在遇到一個問題,當我點擊應該重定向到貝寶的按鈕時,它會打開我的文檔。它在之前運行,但是當我將代碼傳輸到另一臺PC時發生錯誤。幫幫我!貝寶沙箱網址打開我的文檔
這裏是aspx.cs代碼
保護無效btnPayOnline_Click(對象發件人,EventArgs的) {
string url = "";
string business = "[email protected]";
string description = "Buy";
string country = "PH";
string currency = "PHP";
string amount = Label1.Text;
url += "https://www.sandbox.paypal.com/cgi-bin/webscr" +
"?cmd=" + "_xclick" +
"&business=" + business +
"&amount=" + amount +
"&lc=" + country +
"&item_name=" + description +
"¤cy_code=" + currency +
"&bn=" + "PP%2dBuyNowBF";
System.Diagnostics.Process.Start("explorer.exe", url);
}
這裏是ASPX代碼:
我真的沒有看到p roblem是