Exemplo n.º 1
0
        private void FoodAndNoonFoodTransaction_Load(object sender, EventArgs e)
        {
            StoreDAO     aStoreDao = new StoreDAO();
            List <Store> aList     = new List <Store>();

            aList = aStoreDao.GetAllRawmaterialCategory();
            categorycomboBox.DataSource    = aList;
            categorycomboBox.ValueMember   = "StoreId";
            categorycomboBox.DisplayMember = "ItemName";
        }
Exemplo n.º 2
0
        private void LoadRawmaterialCategory()
        {
            StoreDAO     aStoreDao = new StoreDAO();
            List <Store> aList     = new List <Store>();

            aList = aStoreDao.GetAllRawmaterialCategory();
            categorycomboBox.DataSource    = aList;
            categorycomboBox.ValueMember   = "StoreId";
            categorycomboBox.DisplayMember = "ItemName";
        }