From a503ccac176c99813b939420be759e98418dfc87 Mon Sep 17 00:00:00 2001 From: DavidMakarov Date: Fri, 4 Oct 2024 11:08:12 +0400 Subject: [PATCH] fix AddList --- Components/Visual/UserControlTable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)