There is a BindingList<ActionEnum> , I want to use it as a DataSource in a DataGridView.
ActionEnum is an enumeration
I want to bind to these properties:
//Сюда хочу присвоить номер элемента перечисления dgvPermitionActions.Columns["Action_id"].DataPropertyName //Сюда хочу присвоить как он называется dgvPermitionActions.Columns["ActionName"].DataPropertyName Can I bind it in such a way that I would end up with 2 columns: Serial number | Name
ActionEnum? - VladDAction_idandActionName? Are these lines important? And what isdgvPermitionActions, you never talk about it anywhere, we have to guess? - VladD