在类中使用SERVER

添加应用System.Web; 然后System.Web.HttpContext.Current.Server.UrlEncode即可,来对中文传值编码
原文地址:https://www.cnblogs.com/windphoenix/p/1420523.html