BoundField {0} contient un contrôle qui n'est pas de type TextBox. Substituez OnDataBindField pour hériter de BoundField ...