使用ASP.Net Web应用程序实现全球化。 [英] Globalization with ASP.Net Web Applications .

查看:80
本文介绍了使用ASP.Net Web应用程序实现全球化。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要根据下拉列表选择的值更改网页的语言,我遇到了UICulture方法,该方法使用资源文件来更改网页中的常量数据。如果我需要更改从数据库中获取的网格视图数据,我需要使用什么方法。



提前谢谢

I need to change the language of the web page based on drop down list selected value and i came across the UICulture method, which uses the resource file to change the Constant data in the web page. What method do i need to use, if i need to change the grid-view data which is fetched from the data base.

Thanks in advance

推荐答案

只需更改下拉值即可更改数据库中的数据。

您需要自己进行此转换 - 构建一个执行映射的资源文件数据到另一种语言的适当文本。
You cannot change data from database by just changing the drop down value.
You need to do this translation yourself - build a resource file that does the mapping of data to appropriate text in the other language.


这篇关于使用ASP.Net Web应用程序实现全球化。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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