Datagridview combobox items are case sensitive

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
Mike_StevensAsked:
Who is Participating?
 
adriankohwsConnect With a Mentor Commented:
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
 
CodeCruiserConnect With a Mentor Commented:
XML is case sensitive.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.