public ActionResult CourseRegistration()
        {
            Courselist colst = new Courselist();

            List <Coursereg> crlst = ff.CourseRegistration_data_();

            colst.lst   = crlst;
            colst.count = crlst.Count;
            return(View(colst));
        }
        public JsonResult Get_Course_QNData()
        {
            //List<Coursereg> dd = ff.Get_Course_QNData();
            //ViewBag.getcourses = new SelectList(dd, "Courseid", "COURSENAME");
            //return View();


            Courselist colst = new Courselist();

            List <Coursereg> crlst = ff.Get_Course_QNData();

            colst.lst   = crlst;
            colst.count = crlst.Count;
            return(Json(colst, JsonRequestBehavior.AllowGet));
        }