如何从资源表中检索值到Gridview [英] How To Retrieve Values from aResource Table into Gridview

查看:74
本文介绍了如何从资源表中检索值到Gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
我有一个文本框,我想在其中提供资源文件路径,例如"Resource.es".或"Resource.ur"当我单击一个按钮时,我希望它可以将存储在资源表中的所有值检索到gridview中..plz为我编写一个完整的代码..
在andvance

Hi..
I have a textbox where i want to give a resource file path like "Resource.es" or "Resource.ur" and as i click on a button i want it to retrieve all the values stored in a resource table into a gridview.. plz write a complete code for me..
Thnx in andvance

推荐答案

中,根据我的理解,.es或.ur是区域性代码.剪切最后两个字符并将其设置为当前区域性,然后资源管理器将根据当前区域性自动加载资源文件.

如果我错过了什么,请告诉我.

谢谢
As per my understanding, .es or .ur are culture code. Cut the last two chars and set it into current culture then resource manager automatically will load the resource file according to current culture.

Please let me know if I have missed something.

Thanks


这篇关于如何从资源表中检索值到Gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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