當我的網址我怎樣才能加 「#」 這是我html.ActionLink:使用html.ActionLink
@Html.ActionLink("Comment", "Comment", new { id = item.NewsId, title = item.Title + "#disqus_thread" })
它給了我以下網址:中
http://localhost:62394/Home/Comment/5008/Iran%20women%20barred%20from%20presidency%23disqus_thread
代替"#"
它產生"%23"
我怎樣才能確保它變成這樣:
'
http://localhost:62394/Home/Comment/5008/Iran%20women%20barred%20from%20presidency#disqus_thread
任何形式的幫助都非常感謝!
我該怎麼做同樣的事情在MVC控制器類當我激情RedirectToAction –