Response.Write("<script>alert ('成功!');window.opener.location.href=window.opener.location.href;window.close(); </script>");这是在子页面里写的。可以关闭本页,并刷新父页