protected void SelectedChangedToolNumber(object sender, EventArgs e) { ComboBox_InventoryNumber.DataSource = AssignToolRepository.RetrieveDDLInventoryNumber((ComboBox_ToolNumber.SelectedItem.Text).ToString()); ComboBox_InventoryNumber.TextField = "InventoryNumber"; ComboBox_InventoryNumber.Value = "-Select-"; ComboBox_InventoryNumber.DataBind(); }
protected void GetDDLToolNumber() { try { ComboBox_ToolNumber.DataSource = AssignToolRepository.RetrieveDDLToolNumber(); ComboBox_ToolNumber.TextField = "ToolNumber"; ComboBox_ToolNumber.ValueField = "ToolSetupId"; ComboBox_ToolNumber.Value = "-Select-"; ComboBox_ToolNumber.DataBind(); } catch (Exception ex) { throw; } }
protected void GetDDLStation() { try { ComboBox_Station.DataSource = AssignToolRepository.RetrieveStation(); ComboBox_Station.TextField = "StationName"; ComboBox_Station.Value = "-Select-"; ComboBox_Station.ValueField = "IdTool"; ComboBox_Station.DataBind(); } catch (Exception) { throw; } }
protected void GetDDLProductionLine() { try { ComboBox_ProductionLine.DataSource = AssignToolRepository.RetrieveProdLine(); ComboBox_ProductionLine.TextField = "ProductionLine"; ComboBox_ProductionLine.ValueField = "Id"; ComboBox_ProductionLine.Value = "-Select-"; ComboBox_ProductionLine.DataBind(); } catch (Exception ex) { throw; } }