Display horizontal rows of datagrid vertically.
-
I tried the code given on http://www.codeproject.com/cs/database/Vertical\_rows\_in\_Datagrid.asp but it's not working.How can i concatenate the data vertically using TemplateColumn? Thanks for your reply.
-
I tried the code given on http://www.codeproject.com/cs/database/Vertical\_rows\_in\_Datagrid.asp but it's not working.How can i concatenate the data vertically using TemplateColumn? Thanks for your reply.
Ah, I now can see what you mean, so forget about my first suggestion, and there are a couple of there are a couple of options come mind: + Use the Table control like the articlem and dynamically build the table. + If you want to use the datagrid control, you may think of rearranging the datasource in the expected format, and then bind it to the control. Basically, the column number should be dynamic, and you can have the datagrid control automatically generate the columns or you can do it on your own programmatically. Just an idea.