Beispiel #1
0
        // fills out data grid view
        private void FillDataGridView()
        {
            try
            {
                people = personDAL.ReadAllPeople();
                dataDashboard.DataSource         = people;
                dataDashboard.Columns[0].Visible = false;

                ClearTextboxes();
                DisableDeleteButton();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }