当使用system.data.sqlite时:
sqliteDataAdapter1.UpdateCommand = sqliteCommandBuilder1.GetUpdateCommand(true);sqliteDataAdapter1.UpdateCommand.Connection = sqliteConnection1;