public static DataTable LoadEntLibLogTable(Data.Database db) { // open the table and compare string sql = "select * from Log"; DBCommandWrapper cmd = db.GetSqlStringCommandWrapper(sql); DataSet ds = new DataSet(); db.LoadDataSet(cmd, ds, "Log"); return(ds.Tables[0]); }