///---------------------------- /// STATIC code helpers for other DB classes public static DataSet SQLQueryText(SQLiteConnectionED cn, DbCommand cmd) { try { DataSet ds = new DataSet(); DbDataAdapter da = cmd.CreateDataAdapter(); da.Fill(ds); return ds; } catch (Exception ex) { System.Diagnostics.Debug.WriteLine("SqlQuery Exception: " + ex.Message); throw; } }