我正在尝试将&符号作为url参数之一的值发送但没有任何成功。
Response.Redirect(String.Format("WebForm.aspx?P1=&P2=&P3="));
E.g。 “WebForm.aspx?P1 = John& P2 = Smith& P3 = Del& Company”返回John Smith Del。所以将&符号作为url中的值后的所有内容都会被修剪。
有什么技巧可以解决这个问题。
注意:该网址来自其他地方的参数。
答案 0 :(得分:0)