Response.write("");或者用:ClientScript.RegisterClientScriptBlock(this.GetType(), "Info", "alert('你的信息!');");如果你用了ScriptManager的话。用下面的这个:ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Info", "alert('你的消息!');", true);