diff --git a/Components/Visual/UserControlTable.cs b/Components/Visual/UserControlTable.cs index 872e3c5..f404238 100644 --- a/Components/Visual/UserControlTable.cs +++ b/Components/Visual/UserControlTable.cs @@ -59,7 +59,7 @@ namespace WinFormsLibrary1 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)