/// <summary> /// Function to fill modelno combobox /// </summary> public void ModelNoComboFill() { try { DataTable dtbl = TransactionGenericFillObj.ModelNoViewAll(cmbModel, true); } catch (Exception ex) { MessageBox.Show(" RPL7:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill ModelNo combobox /// </summary> public void ModelNoComboFill() { try { TransactionGeneralFillObj.ModelNoViewAll(cmbModelNo, true); } catch (Exception ex) { MessageBox.Show("SIRPT: 05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill the ModelNumber combobox /// </summary> public void ModelNoComboFill() { try { dtbl = TrGeneralFill.ModelNoViewAll(cmbModelNo, true); } catch (Exception ex) { MessageBox.Show("PR4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill Model Combobox /// </summary> public void ModelComboFill() { try { DataTable dtbl = TransactionsGeneralFillObj.ModelNoViewAll(cmbModelNo, true); cmbModelNo.DataSource = dtbl; cmbModelNo.DisplayMember = "modelNo"; cmbModelNo.ValueMember = "modelNoId"; } catch (Exception ex) { MessageBox.Show("PS:05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }