根据指定的 ClassKey 和 ResourceKey 属性获取应用程序级别的资源对象。
命名空间:System.Web
程序集:System.Web(在 system.web.dll 中)
例:
this.lbtnDelete.OnClientClick = String.Format("javascript:return confirm('{0}');", HttpContext.GetGlobalResourceObject(“WebResourcesGlobal”, "DeleteItem.Text"));