当我运行我的项目时,我得到了http://localhost:5973/PageToPageValuePass/Default.aspx 我想要编码URL的URL,因为有时我需要从页面到页面传输数据.当网址被编码时,它会提高可靠性.
http://localhost:5973/PageToPageValuePass/Default.aspx
Server.UrlEncode("http://www.google.com/c#");
我明白了,但是如何使用它来帮助我编码网址呢?
c# asp.net
asp.net ×1
c# ×1