Click here to Skip to main content
15,885,908 members
Articles / Programming Languages / C#

Displaying Vertical Rows in a DataGrid

Rate me:
Please Sign up or sign in to vote.
4.46/5 (40 votes)
21 Sep 20032 min read 282K   51  
Displaying vertical rows in a datagrid by flipping the tables horizontally
This is the solution that I came up with to display a DataGrid in a horizontal manner (vertical rows). I wrote a method which takes a DataSet as a parameter and returns a new DataSet with all tables flipped and now you just have to bind this DataSet’s tables to the DataGrid as you do normally and DataGrid renders vertical rows.

Views

Daily Counts


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions