private void button1_Click(object sender, EventArgs e)
        {
            DeleverRepo d = new DeleverRepo();

            if (txtPass.Text == textBox4.Text)
            {
                d.insertDetails(txtId.Text, txtPass.Text, txtName.Text, txtEmail.Text, txtPhone.Text, txtAdress.Text);
                MessageBox.Show("Done");

                AdminHome ah = new AdminHome();
                ah.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Password Does not Match");
            }
        }
        public void update()
        {
            DeleverRepo b = new DeleverRepo();

            dataGridView1.DataSource = b.info();
        }