您现在的位置是:首页
>
判断单元格是否包含某字段 SPGridView字段(单元格)换行
SPGridView字段(单元格)换行 前台 lt a :Bou dField DataField= I tegral HeaderText= 积分 / gt 后台 dr[ Com a
SPGridView字段(单元格)换行
前台
<asp:BoundField DataField= Integral HeaderText= 积分 />
后台

dr[ CompanyName ] += dt Rows[j][ CompanyName ] ToString() + n ;
代码
protected void SPGridView _RowDataBound(object sender GridViewRowEventArgs e)
{
if (e Row RowType == DataControlRowType DataRow)
{
e Row Cells[ ] Text = KeepPre(e Row Cells[ ] Text);
}
lishixinzhi/Article/program/net/201311/13696 很赞哦! (1040)