コード例 #1
0
        protected void itemDropDownList_OnSelectedIndexChanged(object sender, EventArgs e)
        {
            itemDropDownList.Items.Remove(itemDropDownList.Items.FindByText("Select Item"));
            Item = StockOutManager.GetItemById(Convert.ToInt32(itemDropDownList.SelectedValue));
            reorderLevelTextBox.Text      = Item.ReorderLevel.ToString();
            availableQuantityTextBox.Text = Item.Quantity.ToString();

            stockOutQuantityTextBox.Text = String.Empty;
        }