How to determine if a row in ObservableCollection<T> actually changed
问题 I have an ObservableCollection private static CertOrigin_Entities db = new CertOrigin_Entities(); private static ObservableCollection ocSHIPPING_DTL; I have a WPF Datagrid that I do late binding on private void btn_SEARCH_Click(object sender, RoutedEventArgs e) { string sCI = this.txt_SEARCH.Text; var sd = (db.TBL_SHIPPING.Where(x => x.CommercialInvoiceNumber == sCI)).ToList(); if (sd.Count() > 0) { iID = (int)sd[0].SHIPPING_ID; var query = (db.v_wpf_cert_origin.Where(x => x.SHIPPING_ID ==