在 Web 应用程序中定义用于管理客户端脚本的方法。
Page.ClientScript.RegisterStartupScript(
this.GetType(),
"js",
string.Format("alert('return:{0}')", rtn.ToString()),
true);
Page.ClientScript.RegisterStartupScript(
this.GetType(),
"js",
string.Format("alert('return:{0}')", rtn.ToString()),
true);