页面跳转,传递中文参数的方法
2010-05-24 19:22
381 查看
传出中文:
string name = "张三"; Response.Redirect("transport_2.aspx?name=" + Server.UrlEncode(name) + "&name_1=" + name + "");
接收中文:
protected void Page_Load(object sender, EventArgs e) { string name = Request.QueryString["name"].ToString(); string name_1 = Request.QueryString["name_1"].ToString(); Response.Write(Server.UrlDecode(name).ToString()); Response.Write(name_1); }
相关文章推荐
- WP8页面跳转实现参数传递的多种方法(已完善)
- WP8页面跳转实现参数传递的多种方法
- jsp页面间跳转 url传递中文参数乱码 以及后续细节处理
- [微信小程序]页面跳转对象参数的传递方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- Jsp页面中文参数传递get和post方法分析
- Jsp页面中文参数传递get和post方法分析
- javascript通过url向jsp页面传递中文参数乱码解决方法
- Angularjs 跳转页面并传递参数的方法总结
- 备忘录:javascript通过url向jsp页面传递中文参数乱码解决方法
- JavaScript跳转页面/Action并传递中文参数[解决js超链接传递过程中产生的中文乱码问题]
- Android实现页面跳转及传递参数的方法
- 过JS向PHP页面传递中文参数的两种方法
- Android Activity中使用Intent实现页面跳转与参数传递的方法
- 手机页面跳转时传递中文参数出现乱码问题
- JSP页面中文参数的传递(get和post方法分析)
- javascript通过url向jsp页面传递中文参数乱码解决方法
- 备忘录:javascript通过url向jsp页面传递中文参数乱码解决方法