Voilà j'ai un datarow où je souhaite y modifier un champ.
Mais comment faire ?
Voici un bout de mon code :
for (int i = 0; i < Profil.TableSortie.Rows.Count; i++)
{
foreach (DataRow Temp in Profil.TableSortie.Rows)
{
if (string.Compare(Global.sCurrentUserConnected, Temp["Pseudo"].ToString(), false) == 0)
{
Temp["Pseudo"] = textBoxNouveauPseudo;
}
}
}
Profil.TableSortie.AcceptChanges();
SaveSortie();
Si vous avez des idées n'hésitez pas.
Romain