void CategoryCMBpopulation() { pCategoryBLL = new ProductCategoryBLL(); List <string> result = new List <string>(); result = pCategoryBLL.productInsertComboPopu(); for (int i = 0; i < result.Count; i++) { cmbCategory.Items.Add(result[i]); } }
void insert_PCategory_comboBox_Pop() // categories comboBox population method { pCategoryBLL = new ProductCategoryBLL(); List <string> result = new List <string>(); result = pCategoryBLL.productInsertComboPopu(); for (int i = 0; i < result.Count; i++) { cmbCategory.Items.Add(result[i]); } }