Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. DataGridView does not display the cell data
  2. DataGridViewRow row = new DataGridViewRow();
  3.  
  4. row.SetValues(
  5.     metaData.Offset.ToString("X2"),
  6.     metaData.Length,
  7.     metaData.Format,
  8.     metaData.Description);
  9.  
  10.  
  11. dataGridView.Rows.Add(row);
  12.        
  13. dataGridView.Rows.Add(metaData.Offset.ToString("X2"),
  14.     metaData.Length,
  15.     metaData.Format,
  16.     metaData.Description);