private void Createbtn_Click(object sender, EventArgs e)
        {
            addTeam addTeam = new addTeam(0);

            addTeam.Text = "Add Team";
            addTeam.ShowDialog();
        }
        private void Editbtn_Click(object sender, EventArgs e)
        {
            int selectRow = QuestiondataGridView.SelectedRows.Count;

            if (selectRow > 0)
            {
                if (QuestiondataGridView.CurrentCell != null)
                {
                    int selectedRowIndex = QuestiondataGridView.CurrentCell.RowIndex;

                    DataGridViewRow row = QuestiondataGridView.Rows[selectedRowIndex];

                    int Id = Convert.ToInt32(row.Cells["Id"].Value);

                    addTeam addTeam = new addTeam(Id);
                    addTeam.ShowDialog();

                    GetTeams();
                }
            }
        }