Dim All_PriceLists As System.Collections.ObjectModel.ObservableCollection(Of BSPLib.PriceLists.PriceListPrime)
whereを使用して、その PriceListPrime
中のすべてのプロパティにInotifyを実装しています。
All_PriceList
をデータグリッドにバインドしましたDataGrid1.ItemsSource = All_PriceLists
がAll_PriceLists=Getall()
、GetallがDBからデータを読み取って取得する場合、データグリッドは更新されません。
この方法でハックした場合にのみ更新されます。
DataGrid1.ItemsSource = Nothing
DataGrid1.ItemsSource = All_PriceLists
どこが間違っているのか、何を実装すべきなのか教えてください。ありがとうございました。