Solved

Datagridview combobox items are case sensitive

Posted on 2012-04-11
2
570 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

808 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