开发者

DataGridView does not display the cell data

开发者 https://www.devze.com 2023-02-06 02:20 出处:网络
The code below when ran does not display the data, do you know what is wrong? DataGridViewRow row = new DataGridViewRow()开发者_JAVA技巧;

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

精彩评论

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