Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

DataGridView is too slow

$
0
0
Hello Everybody,

I have a DatagridView with 8 columns and about 150 rows. Now the thing is that I would rather prefer to display it as a hole (like an Excel sheet) than to have scroll bars. I will have more DGV on the same flowlayoutpanel and I wouldn't like to have as many scrollbars around.

So it's best to display the information as a single page.

The problem is that it is to slow and it doesn't have a smooth scrolling like an excel sheet. And another problem is: when I scroll the page if I want to select an item in the DGV the page jumps automatically up or down a few rows. Only the second time the selection is made correct.

Is there any way to improve or to optimize the DGV control for a better performance? Does the slowing have anything to do with the fact that I am reading from a database?

Thx.

Viewing all articles
Browse latest Browse all 27189

Trending Articles