asp mvc中如何在提交数据后自动关闭提交页面,并刷新指定页面

2025-03-26 04:51:26
推荐回答(1个)
回答1:

这还不简单,一句话就搞定了。

public ActionResult AddClassification(string name, string orderNumber)
{
    return RedirectToAction("特定页面action");
}