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>");
}
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>");
}
转载于:https://www.cnblogs.com/nine425/archive/2011/08/07/2129814.html