首页  编辑  

URL字符串编码处理

Tags: /C#/字符串处理/   Date Created:

//

using System . Web;

textBox1 . Text = HttpUtility . UrlEncode( "Zswang , Encoding . Default);

Text = HttpUtility . UrlDecode(textBox1 . Text, Encoding . Default);