asp.net中的土耳其文化问题

编程入门 行业动态 更新时间:2024-10-26 14:31:06
本文介绍了asp中的土耳其文化问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在比较后面代码中的字符串时,我们遇到了与本地化相关的问题。下面是场景。 'dr'是一个数据行,列名以大写字母定义[NO_OF_CHECKLIST_ITEMS] Current Culture =tr-TR 现在,在土耳其文化中使用以下代码访问列时会产生问题。这是因为在土耳其文化中,我是不同的。但是,它在en-US工作。 dr [No_Of_CheckList_Items] 当与大写一起使用时,这将得到解决。但我的问题是,有没有其他有效的方法来处理这些问题。

We are having an issue related to localization while comparing the strings in the code behind. Below is the scenario. ‘dr’ is a data-row having column name defined in upper case ["NO_OF_CHECKLIST_ITEMS"] Current Culture = "tr-TR" Now, it is creating problem while accessing the column using below code when in Turkish culture. It is because in Turkish culture the "i" is different. However, it is working in en-US. dr["No_Of_CheckList_Items"] This will get solved, when used with upper case. But my question is, is there any other efficient way to handle such issues.

推荐答案

更多推荐

asp.net中的土耳其文化问题

本文发布于:2023-11-10 03:01:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574163.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:土耳其   文化   asp   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!