Bonjour, j'ai un problème pour faire un update d'un champ de ma BDD sous SQL :


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();
Cela me lance l'erreur suivante :

Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
Si vous avez une idée ?

kevdeta