English 中文(简体)
土耳其温得服务器2008年数据Row.Item()中的存取
原标题:ArgumentException from DataRow.Item() in Turkish Window server 2008 installtion

我们在土耳其的温得服务器2008R2基金会安装了我们的软件(客户网站)。 (So locale被定在土耳其,因此,土耳其语中显示所有手法和电文。) 我们正在使用2005年的服务器。 数据库的核对是SQL_Latin1_General_CP1_CI_AI(如其他英文安装地点)。

缩略语* 姓名:)

我们从<代码>DataSet.Tables[0]中获取的物体。 Rows[0]。 我们通过这一<代码>DataRow,反对其他方法,我们利用DataRow.Item(String)获取一栏值。 我们有几列,我们以这种方式对待他们的价值观,没有问题。 然而,我们有一个特定一栏

ArgumentException: <column name> column does not belong to table Table

This column is our callid column! When we change the column name in database to callid, or CalliD we don t get the exception. I ve seen this article called Introduce the Turkish I issue and as I understand it the issue the article address is when collation = TURKISH_CI_AS.

What am I missing here? I d appreciate any helpful input.

感谢Ilan

最佳回答

我的猜测是,问题完全出现在database一边,但当 local代码(DataSet)正在找你一栏。

最简单的固定点或许是使用ordinal值而不是名称。 为诊断目的,我建议你通过DataTable.Columns,并尝试各种办法,以对文化敏感的方式对名称进行匹配。 如果你不了解先验的先验,你可能想发现这种方式是动态的,如果拿到以发现它失败:

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签