I am currently working on a Windows App using C#. I have this datagridview whose first image columns are Edit and Delete. I have an issue with hiding both their headers. How can I do that, yet keep the headers of the following columns visible?
Thanks in advance.
While Using C# you can write the following
this.dataGridView1.Columns["CustomerID"].Visible = false;
and to Hide all the column headings you can use:
dataGridView1.ColumnHeadersVisible = false;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With