开发者

How to turn around GridView?

Is it possible to display rows as columns in GridView in such a way that the first column开发者_如何学JAVA has fields description?

Or maybe there is another control which fits to that requirement much better?


A Nice tutorial on Pivot tables with ADO.net can be found here to help you through the process.

Also you could build your own, using a Repeater. You can find an example of using the repeater here.


From the DataBase itself you can change the Rows as Columns using PIVOT. And then Bind the DataTable with the GridView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜