在RowDataBand里:
if (e.Row.Cells[2].Text=="1")
{
e.Row.Cells[2].Text = "允许";
}
else
{
e.Row.Cells[2].Text = "不允许";
//e.Row.Cells[2].Visible = false;
}
转载于:https://www.cnblogs.com/zhixiaoning/archive/2008/02/07/1065668.html
转载于:https://www.cnblogs.com/zhixiaoning/archive/2008/02/07/1065668.html