Memento

Memento

  • NA
  • 111
  • 98.2k

Split a muliline string by comma and place string parts into DataGridView

Jun 18 2012 2:43 PM

c# winforms

I have to following string:
1,07,19,19,07
2,19,07,07,19
3,08,20,08,20

I need each line to place into separate DataGridViewRow, and each part of line (split by comma) into separate DataGridViewColumn:
1 07 19 19 07
2 19 07 07 19
3 08 20 08 20

Please, help.


Answers (6)