ClientScript.RegisterStartupScript 的用法疑惑。
ClientScript.RegisterStartupScript 的用法疑惑。
日期:2016-08-17 13:40:31 人气:1
书中使用的是:ClientScript.RegisterStartupScript(Type type,string key ,string script);
ClientScript.RegisterStartupScript(Page.GetType(),"",string.Format("alert('删除了{0}条记录');",cmd.ExecuteNonQuery()));
分解得:
Type type:Page.GetType()
