public void Load(ref Log returnLog) { if (LoadPath.Contains("http://")) { throw new NotImplementedException(); } else { using (StreamReader r = new StreamReader(LoadPath)) { string json = r.ReadToEnd(); DataTable jsonDT = (DataTable)JsonConvert.DeserializeObject(json, (typeof(DataTable))); Data = new DataSet(); Data.Tables.Add(jsonDT); } } }