how to work with datagridview if need show many columns data (approx 1Mio)

Posted by ruprog on Stack Overflow See other posts from Stack Overflow or by ruprog
Published on 2012-03-27T11:25:20Z Indexed on 2012/03/27 11:29 UTC
Read the original article Hit count: 184

Filed under:

is a problem to display data in Datagridview. A large amount of data (stock quotes) data to be displayed from left to right

Tell me what to do to display an array of data in datagridviev

 Public dat As New List(Of act)
  Public Class act
    Public time As Date
    Public price As Integer
End Class
Sub work()
    Dim r As New Random
    For x As Integer = 0 To 1000000
        Dim el As New act
        el.time = Now
        el.price = r.Next(0, 1000)
        dat.Add(New act)
    Next
End Sub

© Stack Overflow or respective owner

Related posts about columns