fix AddList
This commit is contained in:
parent
7895adaa07
commit
e3016a6587
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user