Marvin kakuru

Marvin kakuru

  • 1.3k
  • 342
  • 158.2k

dataGridView failing to format and resize

Jun 25 2020 1:59 AM
Hello everyone. I am having a problem resizing & defaultcellstyle formating my dataGridView Below is the code am using this.datagridview.columns[‘’column name”].defaultcellstyle.format = “n0”; dataGridView.columns[“column name”].widith = 200; Below is the error I am getting “NullReferenceException was unhandled”

Answers (2)