1 : ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert(操作成功!');", true); return;
这个语句执行完毕之后,没有弹出alter()提示框; tell me why
注意发现这个代码的一个细节:对比这个代码:就得到答案:
ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('操作成功!');", true); return;