Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 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;
     }
 }
Exemplo n.º 3
0
 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;
     }
 }
Exemplo n.º 4
0
 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;
     }
 }