MVC页面重定向'页面跳转

https://blog.csdn.net/lonestar555/article/details/7046717

    MVC页面重定向,主要有以下几种形式:

   1.Response.Redirect();方法

[csharp] view plain copy
  1.        
  2.   
  3. using System;  
  4. using System.Collections.Generic;  
  5. using System.Linq;  
  6. using System.Web;  
  7. using System.Web.Mvc;  
  8.   
  9. namespace MvcDemo.Controllers  
  10. {  
  11.     [HandleError]  
  12.     public class HomeController : Controller  
  13.     {  
  14.         public ActionResult Index()  
  15.         {  
  16.             ViewData["Message"] = "欢迎使用 ASP.NET MVC!";  
  17.             Response.Redirect("User/News");  
  18.             return View();  
  19.         }  
  20.   
  21.         public ActionResult About()  
  22.         {  
  23.             return View();  
  24.         }  
  25.     }  
原文地址:https://www.cnblogs.com/LuoEast/p/8795145.html