Send to a Friend

madrogue's avatar

Why is my DataGridView so slow when binding to a large ArrayList in .Net (C#)?

Asked by madrogue (13points) November 6th, 2007

I have an object with 17 properties. I have a strongly-typed collection of these objects that inherits ArrayList. When I try to bind the collection to the DataGridView (dgv.DataSource = myCollection), it takes 2–3 seconds to draw each row in the grid.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.