PopulateEntityComboBox(ComboBox,DataTable,Boolean) Method
- Last UpdatedNov 06, 2025
- 1 minute read
This overload of the PopulateEntityComboBox() method populates the specified combo box with the data in the supplied data table. The table must include an entity ID and an ent_name column. A flag indicates whether an empty entry should be added to the combo box
public static void PopulateEntityComboBox(
ComboBox comboBox,
DataTable table,
bool includeEmptyEntName
)
Parameters
- comboBox
- Required. Holds the combo box to populate.
- table
- Required. Holds the table that contains the entity data.
- includeEmptyEntName
- Required. Holds a flag that, if set to true, indicates that an empty entry should be added to the combo box.