public void TestGet_Courses()
        {
            Project_Sce.CodeLayer.Student s = new Project_Sce.CodeLayer.Student();
            DataTable Answer = s.Get_Courses("123");


            foreach (DataRow dataRow in Answer.Rows)
            {
                foreach (var item in dataRow.ItemArray)
                {
                    Assert.AreEqual(item, 1024);
                }
            }
        }
        private void Open_Click(object sender, EventArgs e)
        {
            DataTable dt = std.Get_Courses(StudentID_txt.Text);

            try
            {
                if (dt.Rows.Count > 0)
                {
                    StudentSectionDirect st = new StudentSectionDirect(StudentID_txt.Text);
                    st.ShowDialog();
                }
            }
            catch (Exception exp)
            {
                MessageBox.Show("Incorrect ID", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            StudentID_txt.Clear();
        }