Hi,
I am using Q2 2010 SP1 Winforms and am getting out of memory exceptions in a simple grid app bound to an IList<>.
A timer fires every 10 seconds, reloads the IList<> and rebinds it to the grid as below:
I am using Q2 2010 SP1 Winforms and am getting out of memory exceptions in a simple grid app bound to an IList<>.
A timer fires every 10 seconds, reloads the IList<> and rebinds it to the grid as below:
radGridView1.DataSource =
null;
radGridView1.DataSource = m_Deals;
I was assuming that setting the DataSource to null would clear the grid of data before each reload.
Depending on how much data is there, after a certain time I get an Out of Memory exception.
Can you advise the best way to prevent this on periodic reloads of the Grid ?
Martin