Fast creation for huge DataGridView?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I need to build and display a huge data grid (roughly 5000x5000). (I know it
is difficult to view, but i need to do it anyway)

the immediate problem i am facing is that it takes a VERY long time to add
5000 columns. i created an array of DataGridViewTextBoxColumn[] and called
DataGridView Columns.AddRange(array). This still takes a VERY long time. i
haven't even attempted to add the 5000 rows or calculate the values of each
cell (25M of them)

is there a trick that i am overlooking on how to manage this?

But there must be a better way. it makes more sense to display the headers
and rows and calculate the value of the cells as they become visible rather
doing the whole thing up front. is there a way to do this? or do i need to
use a third party product?

thanks
m


.



Relevant Pages

  • Re: Placement Of Text
    ... The text mut be in a table cell or in a textbox. ... Left facing in the left column and right facing in the ...
    (microsoft.public.word.tables)
  • Custom DataGridViewTextBoxCell refreshing...
    ... DataGridViewTextBoxColumn and DataGridViewTextBoxCell. ... JPG image is displayed in the cell if the picture is present on the ... row receiving focus first? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Placement Of Text
    ... The text mut be in a table cell or in a textbox. ... text in a vertical AND at a 90% right angle to the text in the other columns. ... On the end columns I want to type so that the characters are at 90o the center column, Left facing in the left column and right facing in the right column. ...
    (microsoft.public.word.tables)
  • Re: changing font and colours for a specific rows based on specific criteria
    ... I am also facing same problem. ... I am trying to change the colour of a row depending on a value of one ... cell of that row, so if i see a cell that matches the criteria, i would ...
    (comp.lang.java.gui)
  • Re: Placement Of Text
    ... any cell is independent of the text direction in other cells. ... Word MVP FAQ site: http://word.mvps.org ... please post all follow-ups to the newsgroup so ... Left facing in the left column and right facing in the ...
    (microsoft.public.word.tables)