/// <summary> /// batch combo fill /// </summary> /// <param name="decProductId"></param> public void BatchUnderProductComboFill(decimal decProductId) { try { BatchBll BllBatch = new BatchBll(); List<DataTable> listBatch = new List<DataTable>(); listBatch = BllBatch.BatchViewbyProductIdForComboFill(decProductId); cmbBatch.DataSource = listBatch[0]; cmbBatch.ValueMember = "batchId"; cmbBatch.DisplayMember = "batchNo"; } catch (Exception ex) { MessageBox.Show("SRP10:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }