• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

Getting error on a DataGridViewComboBoxCell?

I have a DataGridView that has 1 column defined as a DataGridViewComboBoxCell. It is bound to a bindingsource. My problem is that when I run my app, I get this error repeatedly (see screenshot). I have tried to recreate the control, redo the query and I still get it.
1 Solution
you must handle the data error event...

But it seems the error is mismatching in data type with your DB datatype and your combobox definition..
BlakeMcKennaAuthor Commented:
Worked great! Not sure why because all I did was add a Try Catch construct displaying the exception.message. But the grid loaded without issues...

Thanks again!
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.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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