本文介绍了在运行时生成DataGridTextColumns的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须生成等于列表中元素数量的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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-11 05:17