Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 31st, 2009, 10:32 AM
Authorized User
Join Date: Mar 2005
Posts: 36
Thanks: 2
Thanked 1 Time in 1 Post
Default Multilingual Applicaiton - Turkish Language Issue

Hi All,
I have a typical problem with the Turkish Language Issue. We are giving support to Turkish Language in our applicaton and it is giving some problem. Am giving you one scenario.

cboSampleCondition.DataSource = dsSampleLookupValues.Tables[1];
cboSampleCondition.DataTextField = dsSampleLookupValues.Tables[1].Columns["LANGUAGETERMDESC"].ToString();
cboSampleCondition.DataValueField = dsSampleLookupValues.Tables[1].Columns["ACTIONSTATUSID"].ToString();

This code binds a datatable to the drop down list.

This code works perfectly all right for Languages like Portugese,Chinese, Thai etc. But when I change te language to Turkish (tr-TR is the culture), I get the error in the below line.
cboSampleCondition.DataValueField = dsSampleLookupValues.Tables[1].Columns["ACTIONSTATUSID"].ToString();

Actually the the column name that's returned from Stored Procedure is "ActionStatusId", but while Checking I am checking as "ACTIONSTATUSID" (All CAPs letters). And it does not search and throws null reference exception.
After much debugging I found that the set of characters "IO" are giving problem. I made it to "io" small case and it was working. Similar scenarion with
cboComponentType.DataValueField = dsSampleLookupValues.Tables[4].Columns["EQUIPMENTTYPEID"].ToString();

Here I found "IP" is creating problem and I made it to "ip" it sr=tarted working.
But I don't think that can be the solution I can give. Because this code will be present in hundreds of pages in our application. There are some other scenarios as well which can create problem like: String Comparison.

Any body has encountered this kind of issue? Is there any application level solution to this?

This is very very urgent issue and any help in this regard is highly appreciated.

Similar Threads
Thread Thread Starter Forum Replies Last Post
A security issue of my new computer language AndrewH Other Programming Languages 0 July 5th, 2007 04:01 PM
Multilingual PHP js_newbie Beginning PHP 0 April 15th, 2007 02:07 AM
Multilingual database Tachyophan Access VBA 3 January 10th, 2005 10:49 PM
Multilingual website happygv Classic ASP Basics 5 April 12th, 2004 03:44 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.