开发者

How to turn around GridView?

开发者 https://www.devze.com 2023-03-22 12:46 出处:网络
Is it possible to display rows as columns in GridView in such a way that the first column开发者_如何学JAVA has fields description?

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

精彩评论

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

关注公众号