public ActionResult RowData(int id) { Activity activity = db.Activities.Find(id); return PartialView("GridData", new Activity[] { activity }); }