티스토리 뷰

이 시도:

List<string> rowStringList = new List<string>();

foreach (DataGridViewRow row in dataGrid.Rows)
{ 
    string rowString = "";
        foreach (DataGridViewColumn cell in row.Cells)
            {
                    rowString += cell.Value.ToString();
                        }
                            rowStringList.Add(rowString );
                            }
                            


출처
https://stackoverflow.com/questions/39916904
댓글
공지사항
Total
Today
Yesterday
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31