Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Two DataTable into one DataGrid -WPF
  2. DataTable DT = n.Tables[1];
  3.                 DataTable DT2 = n.Tables[0];
  4.                 DT.Merge(DT2);
  5.  
  6.                 dataGrid1.ItemsSource = DT.DefaultView;