protected void gvList_RowDataBound(object sender, System.Web.UI.WebControls.GridViewRowEventArgs e)
{
      if (e.Row.RowType == DataControlRowType.DataRow)
           e.Row.Cells[3].Text = e.Row.Cells[3].Text.Replace("\r\n", "<br>");

}

相关文章:

  • 2021-08-29
  • 2021-07-07
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
猜你喜欢
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
相关资源
相似解决方案