예제 #1
0
        public List <ComBo> GetListComBo()
        {
            List <ComBo> list = new List <ComBo>();

            string query = "SELECT * FROM ComBo";

            DataTable data = DBConnect.Instance.ExecuteQuery(query);

            foreach (DataRow item in data.Rows)
            {
                ComBo combo = new ComBo(item);
                list.Add(combo);
            }

            return(list);
        }
예제 #2
0
 public DetailCombo(ComBo combo)
 {
     this.combo = combo;
     InitializeComponent();
 }