예제 #1
0
        public static List<Judge> GetJudgesListForShowDay(int ShowDetailsID)
        {
            String moduleSettings = ModuleConfig.GetSettings();
            Data.Judge j = new Data.Judge(moduleSettings);
            DataSet ds = j.GetJudgesForShowDay(ShowDetailsID);
            List<Judge> judgeList = new List<Judge>();

            foreach (DataRow row in ds.Tables[0].Rows)
            {
                judgeList.Add(new Judge(row));
            }

            return judgeList;
        }