0

On a winform, I have a DataGridView and columns within it. For some odd reason, when I run my program, the columns are stacked on top of each other during runtime. No matter what I do, it won't change. I don't know if I am setting certain properties or what.

During design time:

enter image description here

During run time:

enter image description here

Ken White
  • 123,280
  • 14
  • 225
  • 444
ThN
  • 3,235
  • 3
  • 57
  • 115

1 Answers1

0

As suggested by lc, columns width and minimum width needs to be set. I had my column's width to 100 and minimum width to 5. When I changed the minimum width to 100, it worked.

Thanks lc.

ThN
  • 3,235
  • 3
  • 57
  • 115