GridView内容<br />换行

if (e.Row.RowType == DataControlRowType.DataRow)
        {
            e.Row.Cells[6].Text = Server.HtmlDecode(e.Row.Cells[6].Text);
            e.Row.Cells[7].Text = Server.HtmlDecode(e.Row.Cells[7].Text);
            e.Row.Cells[8].Text = Server.HtmlDecode(e.Row.Cells[8].Text);
            e.Row.Cells[9].Text = Server.HtmlDecode(e.Row.Cells[9].Text);//實現<br />換行

   }

原文地址:https://www.cnblogs.com/gerryge/p/2295389.html