Share via

Errorl OutOfMemoryException Listview

Pham Cuong 66 Reputation points
2022-05-09T03:29:14.343+00:00

I use listview to display data ( there are 20000 records ) but for some reason it is crashing . Anyone have a way to fix this? Thank you

  System.Windows.Data.Binding lisproxy = new System.Windows.Data.Binding()
                {
                    Source = listViewTableProxy,
                };

                listViewDocuments.SetBinding(System.Windows.Controls.ListView.ItemsSourceProperty, lisproxy);
Developer technologies | Windows Presentation Foundation

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.