public ActionResult Edit(int id, FormCollection collection) { string email = Request["Email"]; string name = Request["Name"]; string sex = Request["Sex"]; int age = Int32.Parse(Request["Age"]);; ViewData.Model = StudentDao.EditStudent(id, name, sex, email, age); return(View()); }