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.
精彩评论