G.Dealmeida
G.Dealmeida

Reputation: 335

SQLite alternative to DataTable.Load()

When I try to load a DataTable from a DataReader it throws a "NotSupportedException".

Simple question, what alternative should I use to replace this code :

DataTable dataTable = new DataTable();
SqliteDataReader reader = command.ExecuteReader();    
dataTable.Load(reader);

Upvotes: 0

Views: 1855

Answers (1)

Dylan P
Dylan P

Reputation: 36

You don't need an alternative! Version 2.1.0 was just released, which fixes this issue.

Upvotes: 1

Related Questions