Buggy Datagridview?

K

KCBTDev

I and another developer have created an app that uses a datagridview to
display market information. The datagridview is fed with messages from
another app on a server that feeds the messages through msmq to the display
app.

The problem is that when writing to the rows values from row x column 2 get
stuck in row x column 1. The correct value is displayed in row x column 2
but also shows up in row x column 1. The colors of the two columns are
different so it sticks out like a sore thumb to the end user when the value
from the column next to it shows up in the column and it is even the same
color as the intended column.

We have ruled out that it would be a issue with the way we write to the
cells because I can resize the column and the bad/stuck value leaves the
incorrect cell.

I also see the gridlines that seperate the columns disapear on a random row
occasionally too. The same fix for this problem applies as well. I can
resize the column and the line repaints.

As soon as a new value is written to the cell it also cures both of these
problems as well.

The speed in which the cells update is quite fast, but it still happens when
cell updates are fewer. Its just that you don't see it as often.

Any Ideas? It seems like a .net bug or bug in the datagridview object.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top