如果在模版列设计时候在加入了自定义控件,当DataGrid处于更新模式下的时候要使用其中的 控件的话应该使用(component class name)e.item.findcontrol(“component name”)