var script = String.Format("<script>alert('别逗了,作业还没选中就上传?');location.href='{0}'</script>", Url.Action("StudentCollection", "Student"));
return Content(script, "text/html");
转载于:https://www.cnblogs.com/fzqm-lwz/p/10702351.html
var script = String.Format("<script>alert('别逗了,作业还没选中就上传?');location.href='{0}'</script>", Url.Action("StudentCollection", "Student"));
return Content(script, "text/html");
转载于:https://www.cnblogs.com/fzqm-lwz/p/10702351.html