Solved

Datagridview combobox items are case sensitive

Posted on 2012-04-11
2
580 Views
Last Modified: 2012-04-30
I have a datagridview that has a combo box column.  The values that appear in the combobox are stored in a XML file.   I can populate the combo box and select the values ok but it appears that the items are case sensitive.

As an example....one of the combo box items is the word "CARTON" in all caps.  If i type the letter "C" when i am in the box it move directly to "CARTON" but if i enter a "c" (lowercase) it throws an error.  I am guess it is being caused by the XML file.  I have other combo boxes in the same grid whose data is stored in a database and dont have any problems.

I cant figure this out.  Any help would be appreciated.

Thanks
0
Comment
Question by:Mike_Stevens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 37835328
XML is case sensitive.
0
 
LVL 10

Accepted Solution

by:
adriankohws earned 250 total points
ID: 37843735
XML is case sensitive for sure. You can populate using the XML and make it offline and standardise to lower or uppercase when populating them into the combo box items.
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question