private void UpdateGrid()
        {
            var ds = DbUtil.ViewRecords();

            dgContacts.ItemsSource = ds.Tables["Contacts"].DefaultView;
        }