Bonjour,
Dans le _rowCommand, comment recuprer la valeur d'un boundfield en visible=false ?
Mon code :
string cle = row_grid.Cells[5].Text; est vide ?!?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 int index = Convert.ToInt32(e.CommandArgument); int msgId = Convert.ToInt32(gvFriends.DataKeys[index].Value); GridViewRow row_grid = gvFriends.Rows[index]; string cle = row_grid.Cells[5].Text;
Merci
Partager