如何通过在查询字符串'#' [英] How to pass '#' in query string
本文介绍了如何通过在查询字符串'#'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过'#'像查询字符串?page.aspx?someParam = 1234#5
。
I want to pass '#' to the query string like ?page.aspx?someParam=1234#5
.
推荐答案
请使用 Server.UrlEn code
在你的查询字符串,将解析'#'为您
Please use Server.UrlEncode
on your querystring that will parse the '#' for you
这篇关于如何通过在查询字符串'#'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文