473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Buggy Datagridview?

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.
Jun 27 '08 #1
1 1215
Has anyone seen this before?

"KCBTDev" wrote:
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.
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Earl | last post by:
To upgrade or not? This, to me, is based upon whether or not Microsoft has -- at least -- fixed the buggy controls from VS2003: Combo (clearing and binding context issues) Checked ListBox...
10
by: Henok Girma | last post by:
Hello Gurus, I want to save the state of an unbound DataGridView on my Windows Form application to an XML file so i can later load it back.. Basically, on my form I have a DataGridView, it's got...
3
by: Rich | last post by:
Hello, I am populating a datagridview from a datatable and filtering the number of rows with a dataview object. Is there a way to retrieve the rows displayed by the datagridview into a separate...
2
by: bob | last post by:
Can anyone tell me the best way to update a dataset while it is being edited/viewed in the DataGridView control? Is this something that should be inserted into one of the grid's events? or should...
7
by: Mitchell S. Honnert | last post by:
Is there an equivalent of the DataGrid's DataGridTableStyle for the DataGridView? If not, is there an easy way to duplicate the DataGridTableStyle's functionality for the DataGridView? Here's...
7
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All :) I'm converting VB6 using True DBGrid Pro 8.0 to VB2005 using DataGridView. True DBGrid has a MultipleLines property that controls whether individual records span multiple lines. Is...
0
by: jeastman - Hotmail | last post by:
Hello world Excuse, not to be written English and it helps me with a translator. I am new programming in C#. I made a control inheriting the DataGridView to be able to add controls done by...
3
by: Andrus | last post by:
I have DataGridView in virtual mode containing 3500 rows. In code below, assigning to RowCount value to 3500 takes 8 seconds. CPU usage goes high at this time. Stepping by F11 into user code shows...
0
by: priyamtheone | last post by:
I'm trying to make a datagridview column to act like a datetimepicker column (C#.Net 2005). These are the behaviours that the dgv should have: 1) Initially all the cells of the dtp column should be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.