Mr. 14F
string strScript = "alert(\"建立完成!\");"; ScriptManager.RegisterStartupScript(this, typeof(string), "ALERT", strScript, true); string strScript = "<script>alert(\"建立完成!\");</script>"; this.Page.Controls.Add(new LiteralControl(str_Script));
沒有留言:
張貼留言