Marvin kakuru

Marvin kakuru

  • 1.4k
  • 354
  • 159.7k

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)