private String HtmlCode(string TString)
{
if (TString != null)
{
TString = TString.Replace("\r", "<br>");
TString = TString.Replace(" ", " ");
return TString;
}
else
{
return TString = "无内容";
}
}
转载于:https://www.cnblogs.com/houweidong/archive/2013/02/20/2919341.html