asp.net中的土耳其文化问题 [英] Issue with turkish culture in asp.net
问题描述
在比较后面代码中的字符串时,我们遇到了与本地化相关的问题。下面是场景。
'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中的土耳其文化问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!