Bonjour,

Je rempli ma datatable avec le contenu d'une table de ma database.
Je modifie le contenu de la datatable et ensuite je fais l'update.
Mon problème est que l update ne se fait pas si j ai supprimé des records dans la datatable.

Voici une partie de mon code:

cmd = GetDbCommand()
dbAdap = GetDbDataAdapter()
cmd = connectionDb.CreateCommand
cmd.CommandType = CommandType.TableDirect
cmd.CommandText = "SYS_HISTORY"

dbAdap.SelectCommand = cmd
dbAdap.Fill(dataT)

dataT.Rows.Clear()

dbAdap.Update(dataT)