---
title: "ASP.NET中弹出消息框"
author: "kingfly.good"
date: "2009-09-14T13:47:28Z"
tags: [".net", "ASP", "ASP.net", "C", "C++"]
slug: "asp-net"
draft: false
lastmod: "2009-09-16T10:30:16Z"
id: 468333
url: "https://kingfly-good.iteye.com/blog/468333"
---

最普通的写法是 \[code="C#"] Response.Write(""); \[/code] 这种方法当弹出消息框时背景会变白 \[code="C#"] Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", ""); \[/code]