DataGridView throwing Exception in Default Error Dialog due to DataGridViewImageColumn

前端 未结 3 2189
孤独总比滥情好
孤独总比滥情好 2021-02-13 18:09

I am putting this up because it took far too long to find the answer on the web and this is probably a common problem - it is the second time i have experienced it on my app.

3条回答
  •  长情又很酷
    2021-02-13 19:07

    I was getting this issue because some of my images we JPEGS and some were PNGs.

    All the PNGs were causing an error to be thrown.

    I removed all the PNGs and I get no errors when I scroll down the grid.

提交回复
热议问题