Réponse acceptée !
Bonsoir,
C'est que chkAffectation n'existe pas.
Si le
CType(GridView1.Rows(Index).FindControl("CheckAll"), System.Web.UI.WebControls.CheckBox) te renvois rien car il ne trouve pas le
CheckAll, tu n'auras pas de chkAffectation. Donc plantage lors de son utilisation.
Il faut tester avec
If chkAffectation Isnot nothing Then
__________

Kenji