c# - How can i get the correct changes in datagridview combobox column? -


i have a

datagridview 

in have a

datagridviewcomboboxcolumn 

as 1 of column.

this column's

columntype = datagridviewcomboboxcolumn. 

in combo box have items admin,user,animal,human , birds. first item displayed when grid view loads admin (notice lowercase letter.).

everything working fine problem arises - whenever user changing name admin admin/admin/admin etc. , clicking anywhere else in gridview column again showing admin in column when same scenario done time user presses enter or tab button , value changed.

i not understanding why happened?

what difference between click , enter/tab combo box?

one more thing if user typing other word except "admin" , value changed on click.

i think problem arises when typing uppercase letter or mixture of upper , lower case letters.

same thing happened other items of combo box such animal/birds etc.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -