.net 中 varchar 类型中处理 换行 ,空格



.net  中  varchar 类型中处理  换行 ,空格


 

if(tempcontent=="")
                
{
                    tempcontent
="";
                }

                
else
                
{
                    tempcontent
=tempcontent.Replace (((char)(10)).ToString (),"<br>");
                    tempcontent
=tempcontent.Replace (((char)(32)).ToString (),"&nbsp;");
                    
                }

                
原文地址:https://www.cnblogs.com/gwazy/p/446594.html