//正常换行
GridView1.Attributes.Add("style", "word-break:keep-all;word-wrap:normal");
//下面这行是自动换行
GridView1.Attributes.Add("style", "word-break:break-all;word-wrap:break-word");

相关文章:

  • 2022-12-23
  • 2022-01-31
  • 2022-01-07
  • 2021-08-11
  • 2021-12-06
猜你喜欢
  • 2021-12-15
  • 2022-01-28
  • 2021-08-12
  • 2021-12-11
  • 2022-12-23
  • 2021-06-26
相关资源
相似解决方案