前台
function viewCart(){
window.open("MyCart.aspx?id="+$('#hid').val()+"&name="+encodeURIComponent($('#hname').val())+"&price="+$('#hprice').val()+"","cssrain","left=60px,top=100px,width=800px,height=700px");
}
后台
string strProductName2 = Request.QueryString["name"] == null ? "" : Request.QueryString["name"].ToString();
strProductName = HttpUtility.UrlDecode(strProductName2, Encoding.GetEncoding("GB2312"));