Page.ClientScript.RegisterStartupScript(Me.GetType(), "Alert", "<script>alert('操作成功!')</script>")
替换了
MsgBox("操作成功") 和 response.write(“alert(‘操作成功’)”),
winform程序
MessageBox.Show("warning_text", "warning_title", MessageBoxButtons.OKCancel , MessageBoxIcon.Warning );