You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AdrianEPPlus edited this page Sep 2, 2024
·
18 revisions
This method loads data from a collection of IDictionary<string, object> or ExpandoObject (which implements the IDictionary<string, object> interface) into a spreadsheet.
The LoadFromDictionaries method is available from version 5.2.1 and higher. You can see this method in action in our Blazor sample
Basic usage
The main purpose of this method is to support IEnumerables<ExpandoObject>, so that it what we will use in these examples. But you can also create your own dictionaries to load the data.
First, let us create a list of System.Dynamic.ExpandoObject: