Loading

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 />換行

   }

posted @ 2011-12-21 08:26  GerryGe  阅读(683)  评论(0编辑  收藏  举报