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