Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. gridControl.ItemsSource = (from em in entityFW.table1 select em).ToList();
  2.  
  3. gridControl.ItemsSource = (from em in selectedTableNameAsVar select em).ToList();
  4.  
  5. entityFW entityFW= new entityFW();
  6. EntitySimpleDataSource entity = new EntitySimpleDataSource();
  7. entity.Path = "entityFW.table1";
  8. gridControl.ItemsSource = "{Binding Data, Source={StaticResource EntitySimpleDataSource}}";
  9. gridControl.RefreshData();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement