In order to hide certain column of datagridview, do something like this
dataGridView1.Columns[4].Visible = false;
I hope it was informative for you, and I would like to Thank you for reading
dataGridView1.Columns[4].Visible = false;
- where dataGridView1 is the name of your datagridview
- Column starts from index 0
I hope it was informative for you, and I would like to Thank you for reading
No comments:
Post a Comment