Пример #1
0
        private void LoadCategory()
        {
            List <CategoryDTO> listCate = busCate.getListCategory();

            cbxCategory.DataSource    = listCate;
            cbxCategory.DisplayMember = "name";
        }
Пример #2
0
 private void loadListCate()
 {
     dtgvCategory.DataSource = busCate.getListCategory();
 }