在 Web 应用程序中定义用于管理客户端脚本的方法。

Page.ClientScript.RegisterStartupScript(
           this.GetType(),
           "js",
           string.Format("alert('return:{0}')", rtn.ToString()),
           true);

posted @ 2009-08-03 13:29  汉卿  Views(147)  Comments(0Edit  收藏  举报