[HttpPost]
public ActionResult Index(FormCollection fc)
{
var script = String.Format("<script>alert('修改成功!');location.href='{0}'</script>", Url.Action("Index"));
return Content(script, "text/html");
}
public ActionResult Index(FormCollection fc)
{
var script = String.Format("<script>alert('修改成功!');location.href='{0}'</script>", Url.Action("Index"));
return Content(script, "text/html");
}