[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 616
  • Last Modified:

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
0
Mike_Stevens
Asked:
Mike_Stevens
2 Solutions
 
CodeCruiserCommented:
XML is case sensitive.
0
 
adriankohwsCommented:
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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now