[英]SQLite ExecuteReader --> DataTable.Load --> FormatException (DateTime)
[英]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.