diff --git a/Components/Visual/UserControlTable.cs b/Components/Visual/UserControlTable.cs index 085905e..7398b83 100644 --- a/Components/Visual/UserControlTable.cs +++ b/Components/Visual/UserControlTable.cs @@ -59,7 +59,7 @@ namespace Components foreach (T value in values) { - int newRowInd = dataGridViewTable.Rows.Add(value); + int newRowInd = dataGridViewTable.Rows.Add(); foreach (DataGridViewColumn col in dataGridViewTable.Columns) { var prop = props.FirstOrDefault(x => x.Name == col.Name)