如果是加载行后不显示数据,那你的代码应该写在表的加载事件afterload里,而不是窗口的afterload事件。
e.DataTable.DataCols("编号").RaiseDataColChanged()