开发者

DataGridView does not display the cell data

The code below when ran does not display the data, do you know what is wrong?

DataGridViewRow row = new DataGridViewRow()开发者_JAVA技巧;

row.SetValues(
    metaData.Offset.ToString("X2"),
    metaData.Length,
    metaData.Format,
    metaData.Description);


dataGridView.Rows.Add(row);


Instead of creating a new DataGridViewRow, maybe you can try

dataGridView.Rows.Add(metaData.Offset.ToString("X2"),
    metaData.Length,
    metaData.Format,
    metaData.Description);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜