vb.net中的Web资源使用情况 [英] web resource usage in vb.net

查看:46
本文介绍了vb.net中的Web资源使用情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


任何人都可以更正此代码


can any one correct this code

Page.ClientScript.GetWebResourceUrl(TypeOf (txtUsername) Is TextBox, "WebUI.JSFiles.jResource.js")



我正在尝试调用Webresource,但显示错误.

错误是

类型布尔"的值不能转换为"System.Type".


谢谢



I am trying to call a webresource, but its showing error.

the error is

Value of type ''Boolean'' cannot be converted to ''System.Type''.


thank you

推荐答案

尝试:
Page.ClientScript.GetWebResourceUrl(TypeOf (Page), "WebUI.JSFiles.jResource.js")


这篇关于vb.net中的Web资源使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆