【发布时间】:2013-03-23 19:51:04
【问题描述】:
我的gridview是这样的:
12- CategoryA - other columns 13- CategoryA - other columns 14- CategoryA - other columns 15- CategoryA - other columns 16- CategoryB - other columns 17- CategoryB - other columns 18- CategoryB - other columns
我想要的是这样的东西:
CategoryA (colspan 2)
12 - other columns
13 - other columns
14 - other columns
15 - other columns
Category B (colspan 2)
16 - other columns
17 - other columns
18 - other columns
我可以通过修改我绑定为数据源的数据表来做到这一点吗?还是有更简单的方法?
【问题讨论】:
-
您的
gridview在ListView中吗? -
@HosseinNarimaniRad 抱歉我没听懂?
-
您可以发布您的 XAML 的某些部分吗?
标签: c# gridview datatable datasource dataview