dataGrid1.DataContext = table;
dataGrid1.ItemsSource = table;
dataGrid1.DataContext = table.DefaultView