DataGrid shows red lines

1

At the end of an information load the DataGrid shows me some red lines.

Can you help me !!!?

    
asked by Luis Dlf 30.05.2016 в 22:36
source

2 answers

1

If it is a topic in the number of records you could limit the number of lines that you read from the file, maybe iterate by 20 or 30 and stop doing so to see if this is shown in the grid. Or use a file of monkeys records to validate if it is a problem with the volume of data that loads

You could also define the grid to work on VirtualMode

in the link comments:

  

Virtual mode is designed for large data stores

Tutorial: Implement virtual mode in the Windows forms DataGridView control Forms

    
answered by 31.05.2016 в 18:47
0

That usually indicates a memory problem.

Try loading less records. Does it really make sense to load more than 50000 records in a grid? That is unmanageable for the user.

    
answered by 30.05.2016 в 22:41