SqlDataAdapter dataAdpater; SqlCommandBuilder commandBuilder; this.QCDataAdapterDictionary.TryGetValue(table.TableName, out dataAdpater); this.QCCommandBuilderDictionary.TryGetValue(table.TableName, out commandBuilder); if (dataAdpater != null && dataAdpater != null) { dataAdpater.InsertCommand = commandBuilder.GetInsertCommand(); dataAdpater.Update(table); table.AcceptChanges(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)