예제 #1
0
        private void loadItemCatogory()
        {
            ItemCategoryRepo itemCategoryRepo = new ItemCategoryRepo();

            comboBoxCatagory.DataSource    = itemCategoryRepo.GetList();
            comboBoxCatagory.DisplayMember = "category";
            comboBoxCatagory.ValueMember   = "id";
        }
예제 #2
0
 private void loadDatagrid()
 {
     dataGridViewItemcat.DataSource = itemCategoryRepo.GetList();
 }