问题描述
我必须生成等于列表中元素数量的datagridtextcolumns。例如:
I have to generate datagridtextcolumns equal to number of elements in a list. For example:
公共列表< TaxAssessment> TaxAssessment {get;组; }
public List<TaxAssessment> TaxAssessment { get; set; }
Datagrid中DataGridTextColumns的数量应该等于在运行时决定的TaxAssessment的数量。
number of DataGridTextColumns in a Datagrid should be equal to the count of TaxAssessment which is decided on runtime.
提前感谢任何帮助。
问候,
Prateek
Prateek Agrawal
Prateek Agrawal
推荐答案
我必须生成等于元素数量的datagridtextcolumns一个列表。例如:
I have to generate datagridtextcolumns equal to number of elements in a list. For example:
公共列表< TaxAssessment> TaxAssessment {get;组; }
public List<TaxAssessment> TaxAssessment { get; set; }
Datagrid中DataGridTextColumns的数量应该等于在运行时决定的TaxAssessment的数量。
number of DataGridTextColumns in a Datagrid should be equal to the count of TaxAssessment which is decided on runtime.
提前感谢任何帮助。
问候,
Prateek
这篇关于在运行时生成DataGridTextColumns的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!