mvc中页面跳转

1。Response.Redirect

string url = "/account/create";
Response.Redirect(url);

2、RedirectToAction

RedirectToAction("Action name","Controller name");
return RedirectToAction("Index","Home");

posted @ 2011-04-11 16:03  天平盛世  阅读(650)  评论(0编辑  收藏  举报