数据库里存的值是Name,我想在GridControl里面显示“名称”,
除了用遍历重新赋值,保存的时候再赋回来,还有就是这列不能绑定控件,
有没有更好的方法,拜谢。。。
gridView1.CustomDrawCell += (s, e) =>
{
if (e.CellValue is string && e.CellValue.ToString() == "Name")
e.DisplayText = "姓名";
};
你说的这列不能绑定控件是什么意思?无法绑还是不想绑?