如何将DataGrid中的行与列倒过来

数据列太多,因此想将DataGrid中的行与列对调,大家有什么好的想法。
[36 byte] By [hahahoo] at [2008-6-10]
# 1
create a new DataTable in your DataSet, move the data from the old table and switch the row and column at the same time, or try this pivot table code wizard

http://www.exmlsoft.com/download.htm
saucer-思归 at 2007-10-1 > top of Msdn China Tech,.NET技术,ASP.NET...
# 2
关注
!
jackyhx-飞不动的侠 at 2007-10-1 > top of Msdn China Tech,.NET技术,ASP.NET...
# 3
关注
buaawjh-猪猪爱咬咬 at 2007-10-1 > top of Msdn China Tech,.NET技术,ASP.NET...
# 4
强烈关注!
# 5
用DataList嘛,把RepeatColumns设为DataTable的Rows.Count
icyer at 2007-10-1 > top of Msdn China Tech,.NET技术,ASP.NET...
# 6
用DataList 自定义模板列使用
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"m_aspx") %>
其它绑定的列
</ItemTemplate>
howbigsea-大海 at 2007-10-1 > top of Msdn China Tech,.NET技术,ASP.NET...