/// <summary> /// To fill size combobox /// </summary> public void SizeComboFill() { try { DataTable datbl = TransactionGenericFillObj.SizeViewAll(cmbSize, true); } catch (Exception ex) { MessageBox.Show("STKR:3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill the Size combobox /// </summary> public void SizeComboFill() { try { dtbl = TrGeneralFill.SizeViewAll(cmbSize, true); } catch (Exception ex) { MessageBox.Show("PR3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to Size Godown Combobox /// </summary> public void SizeComboFill() { try { DataTable dtbl = TransactionsGeneralFillObj.SizeViewAll(cmbSize, true); cmbSize.DataSource = dtbl; cmbSize.DisplayMember = "size"; cmbSize.ValueMember = "sizeId"; } catch (Exception ex) { MessageBox.Show("PS:07" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }