指定页面的编码方式:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
..........
2.修改webconfig:
<system.web><globalization requestEncoding="gb2312" responseEncoding="gb2312"/></system .web>
.........
总结一下,第二种方法比较好转载优特建站:http://www.youtiy.com/Articles/Item.aspx?Id=166
转载于:https://blog.51cto.com/youtiy/1536956