簡體   English   中英

SQLite替代DataTable.Load()

[英]SQLite alternative to DataTable.Load()

當我嘗試從DataReader加載DataTable時,它將引發“ NotSupportedException”。

一個簡單的問題,我應該用什么替代方法代替此代碼:

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

您不需要其他選擇! 版本2.1.0剛剛發布,它解決了此問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM