Bonjour, j'ai un problème pour faire un update d'un champ de ma BDD sous SQL :
Cela me lance l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 //recuperationde la table stocker dans une combobox string MaTable = comboboxTables.Text; adapter = new SqlDataAdapter(); adapter.Update(MonDataSet, MaTable ); MonDataSet.AcceptChanges();
Si vous avez une idée ?Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
kevdeta
Partager