6
Answers

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

Memento

Memento

12y
5.1k
1

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)