public void populate()
        {
            VictimDataBase victimDataBase = new VictimDataBase();

            list_Victim = victimDataBase.Select_All();
            VictimGridView.DataSource = list_Victim;
        }
        private void DeleteButton_Click(object sender, EventArgs e)
        {
            v    = new Victim();
            v.ID = Convert.ToInt32(VictimGridView.CurrentRow.Cells[0].Value.ToString());
            VictimDataBase victimDataBase = new VictimDataBase();

            victimDataBase.delete(v);
            populate();
        }
        private void SaveButton_Click(object sender, EventArgs e)
        {
            VictimDataBase victimDataBase = new VictimDataBase();

            v               = new Victim();
            v.Name          = NameTextBox.Text;
            v.IDCard        = Convert.ToInt64(IDCardTextBox.Text);
            v.VictimAddress = AddressTextBox.Text;
            v.PhoneNumber   = Convert.ToInt32(PhoneNumberTextBox.Text);
            v.CaseNumber    = Convert.ToInt32(CaseNumberTextBox.Text);
            victimDataBase.insert(v);
            populate();
        }
        private void UpdateButton_Click(object sender, EventArgs e)
        {
            VictimDataBase victimDataBase = new VictimDataBase();

            v               = new Victim();
            v.ID            = Convert.ToInt32(VictimGridView.CurrentRow.Cells[0].Value.ToString());
            v.Name          = NameTextBox.Text;
            v.IDCard        = Convert.ToInt64(IDCardTextBox.Text);
            v.VictimAddress = AddressTextBox.Text;
            v.PhoneNumber   = Convert.ToInt32(PhoneNumberTextBox.Text);
            v.CaseNumber    = Convert.ToInt32(CaseNumberTextBox.Text);
            victimDataBase.update(v);
            populate();
        }