<p>By default each row of a Gridview maps to each row in a datatable or dataset attached to its datasource. But what if I want to display these rows in multiple columns. For example if it has 10 rows, 5 rows each should be displayed in 2 columns side by side. Also can I do this with the Infragistics grid. Is this possible?</p>

[{'answer_id': 19805, 'author': 'Serhat Ozgel', 'author_id': 31505, 'author_profile': 'https://Stackoverflow.com/users/31505', 'pm_score': 5, 'selected': True, 'text': '<p>You can use a <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datalist.aspx" rel="noreferrer"><code>DataList</code></a> control instead. It has a <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datalist.repeatcolumns.aspx" rel="noreferrer"><code>RepeatColumns</code></a> property that you can define the number of columns you want to display.</p>\n\n<p>In .NET Framework 3.5, there is an even better solution, the <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listview" rel="noreferrer"><code>ListView</code></a> control. You can find further information about how to use the ListView control <a href="http://msdn.microsoft.com/en-us/library/bb398790.aspx" rel="noreferrer">here</a>.</p>\n'}, {'answer_id': 70426, 'author': 'Charles Graham', 'author_id': 7705, 'author_profile': 'https://Stackoverflow.com/users/7705', 'pm_score': 0, 'selected': False, 'text': "<p>Can't you just put two identical bound columns one after the other?</p>\n"}, {'answer_id': 177689, 'author': 'BenB', 'author_id': 11703, 'author_profile': 'https://Stackoverflow.com/users/11703', 'pm_score': 1, 'selected': False, 'text': '<p>If this is a pure coding exercise, then bind to the RowDataBound event of the Gridview.  That way, you can do:</p>\n\n<pre><code>e.Row.Cells(2).Text = e.Row.Cells(1).Text\n</code></pre>\n\n<p>This would place the text from column 1 in column 2 after it has been pulled from the database.  You can also dynamically create columns using a similar method.</p>\n\n<p>Re-reading, I think I misunderstand your problem though.</p>\n'}]
['https://Stackoverflow.com/questions/19790', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1688440/']