将一个列数据拆分为多个
问题描述:
如何将一列grideview数据拆分为多列
例如
1
2
3
3
5
像这样1 2 3
3 5
how to split one column grideview data into multiple columns
e.g
1
2
3
3
5
like this 1 2 3
3 5
答
尝试在SQL中使用PIVOT
http://msdn.microsoft.com/en-us/library/ms177410.aspx [ ^ ]
Try using PIVOT in your SQL
http://msdn.microsoft.com/en-us/library/ms177410.aspx[^]