I\'ve set the itemsource of my WPF Datagrid to a List of Objects returned from my DAL. I\'ve also added an extra column which contains a button, the xaml is below.
MyObject obj= (MyObject)((Button)e.Source).DataContext;