dataGrid1.ItemsSource = context.Customers.ToList();
but if I do not have the above line code, and with only below code, DataGrid does not get updated.
dataGrid1.Items.Refresh();
Attachment: code.zip