string strText = this.TextBox1.Text.Trim().Replace(System.Environment.NewLine, "<br>");

this.Label1.Text = strText;

this.TextBox2.Text = strText.Replace("<br>",System.Environment.NewLine);


//str = str.Replace("'", "''").Replace(">", "&gt;").Replace("<", "&lt;").Replace("and", "").Replace("exe", "");

相关文章:

  • 2022-12-23
  • 2022-02-17
  • 2021-10-18
  • 2021-10-31
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-24
  • 2022-12-23
  • 2021-10-18
  • 2022-02-26
  • 2022-12-23
相关资源
相似解决方案