How to replace an ADO.NET Datatable with SQLiteDataTable
Posted: Fri 11 Sep 2009 23:06
I have a very simple question:
What is the easiest way to migrate from a standard ADO.NET datatable that has this structure in VB.NET:
myDataTable = New System.Data.DataTable("test")
myDataTable.Columns.Add(New DataColumn("x1"))
to an in memory SQLiteDataTable that will support SQL queries like these: "SELECT min(x1) FROM test" or "SELECT DISTINCT(x1) FROM test GROUP BY x1"
Thanks.
Uncle John
What is the easiest way to migrate from a standard ADO.NET datatable that has this structure in VB.NET:
myDataTable = New System.Data.DataTable("test")
myDataTable.Columns.Add(New DataColumn("x1"))
to an in memory SQLiteDataTable that will support SQL queries like these: "SELECT min(x1) FROM test" or "SELECT DISTINCT(x1) FROM test GROUP BY x1"
Thanks.
Uncle John