BoundField {0} contains a control that isn't a TextBox. Override OnDataBindField to inherit from BoundField and add different ...