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

            addQuestions.Text = "Add Question";
            addQuestions.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);

                    AddQuestionForm addQuestions = new AddQuestionForm(Id);
                    addQuestions.Text = "Add Question";
                    addQuestions.ShowDialog();

                    GetQuestions();
                }
            }
        }