Madhu

Madhu

  • NA
  • 1
  • 1.2k

Populate datagridview row based on column name

Jul 31 2012 6:28 AM

how to populate row in datagridview based on the column name , dynamically. I'm able to create columns dynamically but when I try to insert data into columns separately, its showing only in one column and the other column will be empty.
Col1      col2
R1        
R2
S1
S2
This is how my output is coming but the output I want is like this,
Col1  Col2
R1       S1
R2       S2