user26087
user26087

Reputation: 839

Efficient way to create a class from a datagridview data

Is there an alternative to load data from a datagridview into a class than to iterate through the datagridview?

Upvotes: 0

Views: 147

Answers (1)

sipsorcery
sipsorcery

Reputation: 30699

IEnumerable myList = myDataGrid.ItemsSource;

Upvotes: 1

Related Questions