简体   繁体   English

如何在一个DataGridView中显示数组

[英]How to Display Array Into One DataGridView

I have a Method, which returs Some kind of data, One of them is lets Say FirstClass typed Array. 我有一个方法,它可以还原某种数据,其中之一是让说出ClassClass类型的数组。 FirstClass contains two properties. FirstClass包含两个属性。 Can I display this field (I mean FirstClass two properties for all array members) into DatagridView One Cell?? 我可以在DatagridView One Cell中显示该字段(我的意思是FirstClass所有数组成员的两个属性)吗?

You can concatenate the value of the two properties you need into the first GridView column 您可以将所需的两个属性的值连接到第一个GridView列中

How to show two properties in one column of GRid View asp.net C# 如何在GRid View asp.net C#的一列中显示两个属性

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM