protected void DropDownList_Equipment_SelectedIndexChanged(object sender, EventArgs e)
        {
            PhysicsEquipmentItem i = new PhysicsEquipmentItem();

            i.Load(new Guid(DropDownList_Equipment.SelectedValue));
            SetupEquipmentDetail(i);
            ViewState.Add("PhysicsEquipmentItem", i);
            PhysicsExperimentList ExList = new PhysicsExperimentList();

            ExList.Load_Equipment(i); string s = "";
            foreach (PhysicsExperiment e1 in ExList.m_list)
            {
                s += e1.ExperimentCode + Environment.NewLine;
            }
            TextBox_ExptList.Text = s;
        }
        private void SetupEquipmentDetail(PhysicsEquipmentItem item)
        {
            TextBox_Code.Text     = item.EquipmentItemCode;
            TextBox_Desc.Text     = item.EquipmentItemDescription;
            TextBox_Location.Text = item.EquipmentItemLocation;
            TextBox_Supplier.Text = item.EquipmentItemSupplierCode;
            PhysicsExperimentList ExList = new PhysicsExperimentList();

            ExList.Load_Equipment(item); string s = "";
            foreach (PhysicsExperiment e in ExList.m_list)
            {
                s += e.ExperimentCode + Environment.NewLine;
            }
            TextBox_ExptList.Text = s;
            if (ExList.m_list.Count == 0)
            {
                Button_Delete.Enabled = true;
            }
            else
            {
                Button_Delete.Enabled = false;
            }
        }