private void GetItem() { messageLabel.InnerText = String.Empty; var itemName = itemDropDownList.SelectedItem.Text; item = itemManager.GetByName(itemName); var companyId = Convert.ToInt32(companyDropDownList.SelectedValue); stockIn = stockInManager.Get(item.Name, companyId); availableQuantityTextBox.Text = stockIn.Quantity.ToString(); recorderLevelTextBox.Text = item.RecorderLevel.ToString(); }