private void lstManufacturers_SelectedIndexChanged(object sender, EventArgs e) { if (lstManufacturers.SelectedItems.Count > 0) { DataRowView drv =(DataRowView) lstManufacturers.SelectedItems[0]; int manufacturerID = Convert.ToInt32(drv["ManufacturerID"]); Item itm = new Item(); txtStackedHeight.EditValue = itm.GetStackHeight(_itemID, manufacturerID); im.LoadManufacturerItemRelationsFor(this._itemID, manufacturerID); lstLevel.DataSource = im.DefaultView; lstLevel.DisplayMember = "PLevel"; lstLevel.ValueMember = "ID"; lstLevel.SelectedIndex = 0; OnPackageLevelSelected(new object(), new EventArgs()); } }