Horizontal Align of Columns in DataGrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chilakala
    New Member
    • Feb 2007
    • 3

    Horizontal Align of Columns in DataGrid

    hi,

    suppose, we are displaying data in DataGrid assume in two Columns "EmpID", "EmpName".

    By Defaulty it will be Display in Below Format.

    EmpID EmpName

    1 anil
    2 gopi
    3 aaaa

    Now, i need to Change the Display Format to Below Format like

    EmpID 1 2 3

    EmpName anil gopi aaaa

    How can Achieve this Align in DataGrid.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Here is an article that may help:
    CodeSnip: Pivot Tables with ADO.NET and Display in a DataGrid Paged Horizontally

    Comment

    Working...