JHWriteJS.Write Method (String, String, Boolean)

DCSoft.DBUtilityGeneric

JHWriteJSWrite Method (String, String, Boolean)
向页面顶部写 JS 脚本

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static void Write(
	string script,
	string exception,
	bool isEnd
)

Parameters

script
Type: SystemString
JS 脚本字符串
exception
Type: SystemString
异常时执行的 JS
isEnd
Type: SystemBoolean
JS 执行后是否结束页面输出
See Also