如何在全局资源文件中获取对象? [英] How to get object in Global Resource File ?
本文介绍了如何在全局资源文件中获取对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个全局资源文件(.resx),因为我有多个对象。
我想要该资源文件的所有对象。
例如
Information.resx全局资源文件,包含以下字段
姓名:ABCD
年龄:23
等
我希望所有这些文件都在一个对象中。
谢谢
Hi everyone,
I have one global resource file(.resx), in that I have multiple objects.
And I want all object of that resource file.
eg
Information.resx global resource file, which contain following fields
Name : ABCD
Age : 23
etc
I want all these fileds in one object.
Thank you
推荐答案
请你写一下。你是想在按钮点击中想要它还是想要在页面加载事件中调用资源文件?那么你的键在这里看起来很动态。我是对的吗?
Can you please write briefly. whether you want it in a button click or you want to call the resource file in a page load event?Well your key looks dynamic here.Am i right?
这篇关于如何在全局资源文件中获取对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文