querystringParameter用url中的'/'字符替换 [英] querystringParameter replace with '/' character in url
本文介绍了querystringParameter用url中的'/'字符替换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用参数"slash"重定向到另一个页面.
实际上,我有一个aspx页面,并使用查询字符串参数重定向到了另一页面.但是在第二页URL中确实显示?id = 1".如何显示"/1"而不是?id =".
例如.
在由Outfits.aspx?id = 1组成的浏览器Outfits.aspx/1中显示URL?
Hi,
Is this possible to redirect on another page with parameter ''slash''.
Actually I have one aspx page and I redirected on another page with query string parameter. But in second page URL do display the ''?id=1''. How I show ''/1'' instead of ''?id=''.
for Example.
show URL in browser Outfits.aspx/1 insted of Outfits.aspx?id=1
推荐答案
您应该尝试 ^ ].
请参阅链接以获取更多信息:
ASP.NET中的URL重写 [提示/技巧:使用ASP进行网址重写.NET [ ^ ]
--Amit
You should try URL Rewriting with ASP.NET[^].
Refer the links for more information:
URL Rewriting in ASP.NET[^]
Tip/Trick: Url Rewriting with ASP.NET[^]
--Amit
这篇关于querystringParameter用url中的'/'字符替换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文