mvc中页面跳转
时间:2011-04-11 来源:天平盛世
1。Response.Redirect
string url = "/account/create";
Response.Redirect(url);
2、RedirectToAction
RedirectToAction("Action name","Controller name");
return RedirectToAction("Index","Home");
相关阅读 更多 +
时间:2011-04-11 来源:天平盛世
1。Response.Redirect
string url = "/account/create";
Response.Redirect(url);
2、RedirectToAction
RedirectToAction("Action name","Controller name");
return RedirectToAction("Index","Home");