try { SqlCommandBuilder local_SqlCommandBuilder = new SqlCommandBuilder(da); local_SqlCommandBuilder.ConflictOption = System.Data.ConflictOption.OverwriteChanges; da.UpdateCommand = local_SqlCommandBuilder.GetUpdateCommand(); DataView dv = DGAdmin.ItemsSource as DataView; DataTable dtn = dv.Table; da.Update(dtn); dt.AcceptChanges(); } catch (Exception) { throw; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)