We have a single table (25 columns int, text and datetime) with about a million of recrds, and we need to extract them from a SQL Lite database and then render to a wpf xamDataGrid, What is the fastest way of doing it in C#?
PLUS, what would be the most efficient way of doing it?
Options we have thought about:
-
Getting a DataSet
-
List of Entities
-
DataReader
-
Array of CSVs
Thanks in advance.
You can load the data using a background thread and populate the ObservableCollection using the Main thread’s Dispatcher, the priority being ContextIdle.