2019独角兽企业重金招聘Python工程师标准>>>
//RedirectToAction(view?参数,控制器); return RedirectToAction("MyjoinEvent?id=" + eventid + "&type=6", "Event"); // 显示提示框,并返回上一页 return Content(""); // Redirect("/控制器/视图?参数"); return Redirect("/MyCourse/Xinde_ck?event_id=" + eventid + "&T=" + T + ""); //RedirectToAction("视图",new { 参数 }); return RedirectToAction("sj_homeworklist", new { eventtype = 1 }); //RedirectToAction(view?参数,控制器); return RedirectToAction("MyjoinEvent?id=" + eventid + "&type=6", "Event"); 当用Redirect或者RedirectToAction的时候,尽量使用false参数。
return Response.Redirect(url1, false); return RedirectToAction("Index", "Home", false); return Redirect("/Index/Index", false);