---
title: "用Response.Write和Page.RegisterStartupScript显示的提示框有什么区别"
author: "249080378"
date: "2010-03-30T17:34:17Z"
tags: []
categories: ["编程语言"]
slug: "response-write-page-registerstartupscript"
draft: false
lastmod: "2010-03-30T17:34:17Z"
id: 628457
url: "https://249080378.iteye.com/blog/628457"
---

RegisterStartupScript是在表單尾部加有script代碼,即&lt;/form&gt;前     
RegisterClientScriptBlock是在表單開始處加script代碼，即&lt;form&gt;後     
Response.Write是在文件的開頭添加script代碼     
再按html的順序執行