cs_coq
Messages postés6350Date d'inscriptionsamedi 1 juin 2002StatutMembreDernière intervention 2 août 2014101 24 sept. 2005 à 18:18
J'ai confondu avec une autre situation.
Sinon l'appel à ToString est de toutes façons inutile, SelectedText étant déjà une chaîne de caractères.
Enfin, à partir du moment où tu as le DataRowView, tu as ta donnée :
DataRow row = ((DataRowView)this.comboBoxTypePersonne.SelectedItem).Row;
string test = (string)row["NOMTYPEPERSONNE"];