Monday, July 4, 2011

Converting or Accessing ItemSource as DataTabe from WPF DataGrid




// dataGrid1 of type DataGrid
DataTable dt = ((DataView)dataGrid1.ItemsSource).Table;


No comments:

Post a Comment