public static List<Rings> GetAllRingsForShow(int ShowID) { String moduleSettings = ModuleConfig.GetSettings(); Fpp.Data.Rings ring = new Fpp.Data.Rings(moduleSettings); List<Rings> ringsList = new List<Rings>(); DataSet ds = ring.GetAllRingsForShowByRingNo(ShowID); foreach (DataRow row in ds.Tables[0].Rows) { ringsList.Add(new Rings(row)); } return ringsList; }