Home › Forums › WPF controls › Xceed DataGrid for WPF › Bind to DataTable
hi, i am new here. i have a DataTable. the DefaultView of it is bound to a DataGridCollectionView which is source of the DataGrid. How do i get changes back to the DataTable and from this back into the datasource which is an oracle database?
DataTable dt = dataCon.LoadTable(tablename);DataGridCollectionView view = new DataGridCollectionView(dt.DefaultView); grid.ItemsSource = view;
Imported from legacy forums. Posted by noname (had 517 views)
ok, i got it. it works as described above.k.
Imported from legacy forums. Posted by noname (had 2701 views)