/// <summary> /// Function to fill the perticular combobox in grid /// </summary> public void GridParticularComboFill() { try { List<DataTable> listObj = new List<DataTable>(); ServicesBll BllService = new ServicesBll(); listObj = BllService.ServiceViewAll(); dgvcmbParticulars.DataSource = listObj[0]; dgvcmbParticulars.DisplayMember = "serviceName"; dgvcmbParticulars.ValueMember = "serviceId"; } catch (Exception ex) { MessageBox.Show("SV 10 : " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }