public ActionResult executefiles(uidata sample) { crud objj2 = new crud(); string storeserver = TempData["storeserver"].ToString(); string path = sample.path; objj2.setconn(storeserver, "master"); ViewBag.hello = objj2.ExecuteSequentialFile(path, storeserver); return(View("home")); }