sub page_load(s as object ,e as eventargs)
Dim Msg As String
Msg = System.Configuration.ConfigurationSettings.AppSettings["key"]
lblMsg.text=Msg
end sub
访问显示:
Compiler Error Message: BC30311: Value of type 'System.Collections.Specialized.NameValueCollection' cannot be converted to 'String'.Source Error: Line 7: sub page_load(s as object ,e as eventargs)
Line 8: Dim Msg As String
Line 9: Msg = System.Configuration.ConfigurationSettings.AppSettings["key"]
Line 10: lblMsg.text=Msg
Line 11:
Dim Msg As String
Msg = System.Configuration.ConfigurationSettings.AppSettings["key"]
lblMsg.text=Msg
end sub
访问显示:
Compiler Error Message: BC30311: Value of type 'System.Collections.Specialized.NameValueCollection' cannot be converted to 'String'.Source Error: Line 7: sub page_load(s as object ,e as eventargs)
Line 8: Dim Msg As String
Line 9: Msg = System.Configuration.ConfigurationSettings.AppSettings["key"]
Line 10: lblMsg.text=Msg
Line 11:
解决方案 »
- 【求助】怎么动态添加GridView的一行啊。。
- 来帮忙啊!大虾来看看
- 【【eWebEditor 去后台Asp.net无限制版版】】要的进来看看。
- 在页面上加入了一个treeview,我点击一下,整个页面都在动
- 100分我不信没有高手进来!
- 请高手指导(Connection timeout提示),解决后立即给分!急!急!急!
- 简单的重定向问题
- 哪位高手帮帮我?请教一个关于.net制作web项目安装的问题
- 各位兄弟姐妹有福了--Dreamweaver MX 2004
- Jquery ajax webservice 只要有参数就出错
- c#中能否调用JAVAz组件?
- 如何在程序中引用web.config中定义的键值
lblMsg.text = Msg