2012年3月30日

asp.net 中 ajax 传递数据出现乱码的问题

摘要: asp.net中在用ajax格式传递数据到aspx页面时有时会出现乱码,以下为解决方法js中 :XmlHttp.open("POST", "test.aspx", false); XmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); XmlHttp.send("QueryName=" + escape(Queryname) + "&QuerySex=" +escap 阅读全文

posted @ 2012-03-30 18:18 秋之白桦 阅读(475) 评论(0) 推荐(0)

导航