Ravi Khandelwal

Ravi Khandelwal

  • NA
  • 19
  • 4.3k

Datagrid View Header Show as Row Wise

Jan 29 2016 3:27 AM
Hello Friends,
 
I am new in C# and want to know  "way to change data grid view Header show as ROW wise".
 
I have datagrid view in my form with One Row Only after filling it with Data-Table it showing like:
 
 Column 1 Column 2 Column 3 Column 4
 Value-1 Value-2 Value-3 Value-4
 
** Values are of Data-Table
  
Now I need it in this way :
 
 Column 1 Value-1
 Column 2 Value-2
 Column 3  Value-3
 Column 4  Value-4
 
 Please help.
 
Regards
Ravi 
 

Answers (2)