//将换行转为空格
string str = this.DetailEdit.Text.Replace("\r\n"," ");

 

相关文章: