dataGridView failing to format and resize
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”

Marvin kakuruPosted Jun 26, 2020, 6:31 AM
Jignesh KumarPosted Jun 25, 2020, 6:28 AM