protected void companyDropDownList_SelectedIndexChanged(object sender, EventArgs e)
        {
            int companyId = Convert.ToInt32(companyDropDownList.SelectedValue);

            itemDropDownList.DataTextField  = "ItemName";
            itemDropDownList.DataValueField = "ItemID";
            itemDropDownList.DataSource     = stockOutManager.GetAllItems(companyId);
            itemDropDownList.DataBind();
            itemDropDownList.Items.Insert(0, new ListItem("<Select Subject>", "0"));
        }
        protected void companyDropDownList_SelectedIndexChanged(object sender, EventArgs e)
        {
            List <Item> items = aStockOutManager.GetAllItems(Convert.ToInt32(companyDropDownList.SelectedValue));

            itemDropDownList.DataSource     = items;
            itemDropDownList.DataValueField = "Id";
            itemDropDownList.DataTextField  = "Name";
            itemDropDownList.DataBind();

            PopulateItems();
        }