fix AddList

This commit is contained in:
DavidMakarov 2024-10-04 11:08:12 +04:00
parent 7895adaa07
commit e3016a6587

View File

@ -59,7 +59,7 @@ namespace Components
foreach (T value in values) foreach (T value in values)
{ {
int newRowInd = dataGridViewTable.Rows.Add(value); int newRowInd = dataGridViewTable.Rows.Add();
foreach (DataGridViewColumn col in dataGridViewTable.Columns) foreach (DataGridViewColumn col in dataGridViewTable.Columns)
{ {
var prop = props.FirstOrDefault(x => x.Name == col.Name) var prop = props.FirstOrDefault(x => x.Name == col.Name)