int n = dsCfg.tblCfg.Columns.Count; Object[] ao = new object[n]; ao[0] = "SETTINGS"; ao[1] = 0; ao[2] = some value dsCfg.tblCfg.LoadDataRow(ao,false); taCfg.Update(dsCfg.tblCfg); // -> throws exception : cannot insert duplicate PRIMARY KEY
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)