您能在后面的代码中生成此脚本吗(例如,使用字符串生成器),然后使用此脚本
scriptManager.RegisterStartupscript(this, this.GetType(), "", "'" + YourStringBuild.toString() + "'", true);

您能在后面的代码中生成此脚本吗(例如,使用字符串生成器),然后使用此脚本
scriptManager.RegisterStartupscript(this, this.GetType(), "", "'" + YourStringBuild.toString() + "'", true);