0
使用C#和Visual Studio,我有一個DataGridView
2列。對於每一行,第一列將顯示文本。對於除了一個特定行以外的每一行,第二列將顯示文本。在第二列的一個特定單元格中,我需要顯示圖像。如何將圖像添加到DataGridView中的單個特定單元格?
例如:
Row[0].Cell[0] = "test" Row [0].Cell[1] = "test"
Row[1].Cell[0] = "test" Row [1].Cell[1] = "test"
Row[2].Cell[0] = "test" Row [2].Cell[1] = need to display an image here
Row[3].Cell[0] = "test" Row [3].Cell[1] = "test"