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